mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Remove redundant code
Another snippet that shouldn't exist. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a5448ef729
commit
6fbf5b33cc
1 changed files with 1 additions and 4 deletions
|
@ -955,10 +955,7 @@ void MainTab::markChangedWidget(QWidget *w)
|
|||
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));
|
||||
w->setPalette(p);
|
||||
if (!modified) {
|
||||
modified = true;
|
||||
enableEdition();
|
||||
}
|
||||
modified = true;
|
||||
}
|
||||
|
||||
void MainTab::on_buddy_textChanged()
|
||||
|
|
Loading…
Reference in a new issue