diff --git a/src/plugins/coreplugin/themesettings.cpp b/src/plugins/coreplugin/themesettings.cpp index c53fe5e3a54..75fd3ed2f52 100644 --- a/src/plugins/coreplugin/themesettings.cpp +++ b/src/plugins/coreplugin/themesettings.cpp @@ -434,7 +434,6 @@ void ThemeSettings::apply() { d->m_ui->editor->model()->toTheme(creatorTheme()); - QPalette newPalette = creatorTheme()->palette(qApp->palette()); foreach (QWidget *w, QApplication::topLevelWidgets()) w->update(); }