aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-07-25 17:12:57 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-25 13:53:45 -0700
commit71a23c5295ac96b103dfb7b6110c7dc1d30ddeef (patch)
treea7eaad000a8b1ee55f0897adcdfee6454b6ca019 /qt-ui
parent7c770f07900e6e0132cf9947afca942bf7a9d5d7 (diff)
downloadsubsurface-71a23c5295ac96b103dfb7b6110c7dc1d30ddeef.tar.gz
Break long lines
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/locationinformation.cpp4
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;
}