aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/settings/SettingsGeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/settings/SettingsGeneral.cpp')
-rw-r--r--src/ui/settings/SettingsGeneral.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/settings/SettingsGeneral.cpp b/src/ui/settings/SettingsGeneral.cpp
index 5b697fa0..2b5bcfcf 100644
--- a/src/ui/settings/SettingsGeneral.cpp
+++ b/src/ui/settings/SettingsGeneral.cpp
@@ -66,8 +66,8 @@ GeneralTab::GeneralTab(QWidget* parent)
for (const auto& l : lang_) {
ui_->langSelectBox->addItem(l);
}
- connect(ui_->langSelectBox, SIGNAL(currentIndexChanged(int)), this,
- SLOT(slot_language_changed()));
+ connect(ui_->langSelectBox, qOverload<int>(&QComboBox::currentIndexChanged),
+ this, &GeneralTab::slot_language_changed);
#endif
SetSettings();