Commit 40334db9 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Port away from deprecated KConfigDialogManager::changedMap

Since 5.32 is enough to set the kcfg_propertyNotify property with the
desired signal to be monitored.
parent 1a1d6b66
......@@ -67,9 +67,8 @@ PluginSettingsPage::PluginSettingsPage(QWidget *parent, const QString &name, con
// Set the custom property that KConfigDialogManager will use to update the settings.
kcfg_disabledPlugins->setProperty("kcfg_property", QByteArray("disabledPlugins"));
// Tell KConfigDialogManager to monitor the itemChanged signal for a QTreeWidget instance in the dialog.
// Set the custom property that KConfigDialogManager will use to monitor signals for changes.
kcfg_disabledPlugins->setProperty("kcfg_propertyNotify", QByteArray(SIGNAL(itemChanged(QTreeWidgetItem*,int))));
void PluginSettingsPage::slotSettingsChanged()
Supports Markdown
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