From 34b51c5e0915cbb11c80029aaa05d96c7115fac3 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 16 Jan 2024 01:19:34 +0800 Subject: fix: slove the languange settings issue --- src/ui/dialog/settings/SettingsGeneral.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/ui/dialog/settings/SettingsGeneral.h') diff --git a/src/ui/dialog/settings/SettingsGeneral.h b/src/ui/dialog/settings/SettingsGeneral.h index b7c61e52..284843d4 100644 --- a/src/ui/dialog/settings/SettingsGeneral.h +++ b/src/ui/dialog/settings/SettingsGeneral.h @@ -80,23 +80,16 @@ class GeneralTab : public QWidget { private: std::shared_ptr ui_; ///< - -#ifdef SUPPORT_MULTI_LANG - QHash lang_; ///< -#endif - - std::vector key_ids_list_; ///< - - KeyList* m_key_list_{}; ///< + QHash lang_; ///< + std::vector key_ids_list_; ///< + KeyList* m_key_list_{}; ///< private slots: -#ifdef SUPPORT_MULTI_LANG /** * @brief * */ void slot_language_changed(); -#endif }; } // namespace GpgFrontend::UI -- cgit v1.2.3