Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9e37c496 authored by Shalin Shah's avatar Shalin Shah

removed redundant calls of lengend->updateWidget()

REVIEW: 122098
parent e6ad2f41
......@@ -526,7 +526,6 @@ void Kalzium::showSettingsDialog()
connect(dialog, SIGNAL(settingsChanged(QString)), this, SLOT(slotUpdateSettings()));
connect(dialog, SIGNAL(settingsChanged(QString)), m_gradientWidget, SLOT(slotGradientChanged()));
connect(dialog, SIGNAL(settingsChanged(QString)), m_legendWidget, SLOT(updateContent()));
dialog->show();
}
......@@ -541,8 +540,6 @@ void Kalzium::slotUpdateSettings()
Prefs::self()->writeConfig();
m_legendWidget->updateContent();
/*This slot function calls change the color of pse elements immideately after prefs change*/
slotSwitchtoLookGradient(Prefs::colorgradientbox());
slotSwitchtoLookScheme(Prefs::colorschemebox());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment