diff options
-rw-r--r-- | qt-ui/locationinformation.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index c22c7060f..9d69ba5d2 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -112,7 +112,9 @@ void LocationInformationWidget::markChangedWidget(QWidget *w) if (!modified) enableEdition(); qApp->palette().color(QPalette::Text).getHslF(&h, &s, &l, &a); - p.setBrush(QPalette::Base, (l <= 0.3) ? QColor(Qt::yellow).lighter() : (l <= 0.6) ? QColor(Qt::yellow).light() : /* else */ QColor(Qt::yellow).darker(300)); + p.setBrush(QPalette::Base, (l <= 0.3) ? QColor(Qt::yellow).lighter() + : (l <= 0.6) ? QColor(Qt::yellow).light() + : /* else */ QColor(Qt::yellow).darker(300)); w->setPalette(p); modified = true; } |