From: Janne Koschinski Date: Mon, 5 Aug 2019 11:44:45 +0000 (+0200) Subject: Replace deprecated QComboBox::currentIndexChanged with currentTextChanged X-Git-Tag: test-travis-01~35 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=3fc0adfd0e7e8289d0af45358eedf2943a1839d7;ds=sidebyside Replace deprecated QComboBox::currentIndexChanged with currentTextChanged --- diff --git a/src/qtui/settingspages/appearancesettingspage.cpp b/src/qtui/settingspages/appearancesettingspage.cpp index 937b8425..55d2acf5 100644 --- a/src/qtui/settingspages/appearancesettingspage.cpp +++ b/src/qtui/settingspages/appearancesettingspage.cpp @@ -53,7 +53,7 @@ AppearanceSettingsPage::AppearanceSettingsPage(QWidget* parent) initIconThemeComboBox(); foreach (QComboBox* comboBox, findChildren()) { - connect(comboBox, selectOverload(&QComboBox::currentIndexChanged), this, &AppearanceSettingsPage::widgetHasChanged); + connect(comboBox, &QComboBox::currentTextChanged, this, &AppearanceSettingsPage::widgetHasChanged); } foreach (QCheckBox* checkBox, findChildren()) { connect(checkBox, &QAbstractButton::clicked, this, &AppearanceSettingsPage::widgetHasChanged);