ADSREditor: Make colors const

These aren't intended to be modified by anything, so these can be made
const.
This commit is contained in:
Lioncash 2019-08-25 05:11:52 -04:00
parent bc8218e183
commit c736fdd00d
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
#include <QPainter> #include <QPainter>
#include <QMouseEvent> #include <QMouseEvent>
static QColor Red = QColor(255, 127, 127); const QColor Red = QColor(255, 127, 127);
static QColor Green = QColor(127, 255, 127); const QColor Green = QColor(127, 255, 127);
static QColor Blue = QColor(150, 150, 255); const QColor Blue = QColor(150, 150, 255);
ADSREditor* ADSRView::getEditor() const { return qobject_cast<ADSREditor*>(parentWidget()); } ADSREditor* ADSRView::getEditor() const { return qobject_cast<ADSREditor*>(parentWidget()); }