mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Break long lines
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7c770f0790
commit
71a23c5295
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ void LocationInformationWidget::markChangedWidget(QWidget *w)
|
||||||
if (!modified)
|
if (!modified)
|
||||||
enableEdition();
|
enableEdition();
|
||||||
qApp->palette().color(QPalette::Text).getHslF(&h, &s, &l, &a);
|
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);
|
w->setPalette(p);
|
||||||
modified = true;
|
modified = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue