mirror of
https://github.com/AxioDL/amuse.git
synced 2025-07-02 03:13:30 +00:00
ADSREditor: Make colors const
These aren't intended to be modified by anything, so these can be made const.
This commit is contained in:
parent
bc8218e183
commit
c736fdd00d
@ -4,9 +4,9 @@
|
||||
#include <QPainter>
|
||||
#include <QMouseEvent>
|
||||
|
||||
static QColor Red = QColor(255, 127, 127);
|
||||
static QColor Green = QColor(127, 255, 127);
|
||||
static QColor Blue = QColor(150, 150, 255);
|
||||
const QColor Red = QColor(255, 127, 127);
|
||||
const QColor Green = QColor(127, 255, 127);
|
||||
const QColor Blue = QColor(150, 150, 255);
|
||||
|
||||
ADSREditor* ADSRView::getEditor() const { return qobject_cast<ADSREditor*>(parentWidget()); }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user