aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/settings/SettingsGeneral.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/settings/SettingsGeneral.h')
-rw-r--r--src/ui/settings/SettingsGeneral.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/ui/settings/SettingsGeneral.h b/src/ui/settings/SettingsGeneral.h
index 5816af9d..7e118f98 100644
--- a/src/ui/settings/SettingsGeneral.h
+++ b/src/ui/settings/SettingsGeneral.h
@@ -41,13 +41,10 @@ class GeneralTab : public QWidget {
void applySettings();
private:
- QString appPath;
- QSettings settings;
-
QCheckBox* saveCheckedKeysCheckBox;
QCheckBox* importConfirmationCheckBox;
-#ifdef MULT_LANGUAGE_SUPPORT
+#ifdef MULTI_LANG_SUPPORT
QComboBox* langSelectBox;
QHash<QString, QString> lang;
#endif
@@ -66,12 +63,17 @@ class GeneralTab : public QWidget {
KeyList* mKeyList{};
private slots:
-#ifdef MULT_LANGUAGE_SUPPORT
- void slotOwnKeyIdChanged();
+
+#ifdef MULTI_LANG_SUPPORT
+
+ void slotLanguageChanged();
+
#endif
#ifdef SERVER_SUPPORT
- void slotLanguageChanged();
+
+ void slotOwnKeyIdChanged();
+
#endif
signals: