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:
Tomaz Canabrava 2015-03-09 15:12:48 -03:00 committed by Dirk Hohndel
parent a5448ef729
commit 6fbf5b33cc

View file

@ -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()