Replace deprecated QComboBox::currentIndexChanged with currentTextChanged
[quassel.git] / src / qtui / settingspages / appearancesettingspage.cpp
index 937b842..55d2acf 100644 (file)
@@ -53,7 +53,7 @@ AppearanceSettingsPage::AppearanceSettingsPage(QWidget* parent)
     initIconThemeComboBox();
 
     foreach (QComboBox* comboBox, findChildren<QComboBox*>()) {
-        connect(comboBox, selectOverload<const QString&>(&QComboBox::currentIndexChanged), this, &AppearanceSettingsPage::widgetHasChanged);
+        connect(comboBox, &QComboBox::currentTextChanged, this, &AppearanceSettingsPage::widgetHasChanged);
     }
     foreach (QCheckBox* checkBox, findChildren<QCheckBox*>()) {
         connect(checkBox, &QAbstractButton::clicked, this, &AppearanceSettingsPage::widgetHasChanged);