Fix warning

Unused variable

Change-Id: Ic7baf8b17cb0b6a5091efe3bfe262ed42b1e9bda
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
Thomas Hartmann
2014-10-16 10:47:20 +02:00
parent 80390a679d
commit 3c88d65a21

View File

@@ -434,7 +434,6 @@ void ThemeSettings::apply()
{ {
d->m_ui->editor->model()->toTheme(creatorTheme()); d->m_ui->editor->model()->toTheme(creatorTheme());
QPalette newPalette = creatorTheme()->palette(qApp->palette());
foreach (QWidget *w, QApplication::topLevelWidgets()) foreach (QWidget *w, QApplication::topLevelWidgets())
w->update(); w->update();
} }