modernize: Replace most remaining old-style connects by PMF ones
[quassel.git] / src / qtui / settingspages / appearancesettingspage.cpp
index cc713be..d193b41 100644 (file)
@@ -54,7 +54,7 @@ AppearanceSettingsPage::AppearanceSettingsPage(QWidget *parent)
     initIconThemeComboBox();
 
     foreach(QComboBox *comboBox, findChildren<QComboBox *>()) {
-        connect(comboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(widgetHasChanged()));
+        connect(comboBox, selectOverload<const QString&>(&QComboBox::currentIndexChanged), this, &AppearanceSettingsPage::widgetHasChanged);
     }
     foreach(QCheckBox *checkBox, findChildren<QCheckBox *>()) {
         connect(checkBox, &QAbstractButton::clicked, this, &AppearanceSettingsPage::widgetHasChanged);