comparison include/gui/dialog/settings.h @ 195:975a3f0965e2

locale: only attempt loading locales after QApplication is init'd also the general application stuff and anime list is separated in settings
author Paper <mrpapersonic@gmail.com>
date Thu, 07 Dec 2023 11:14:01 -0500
parents 649786bae914
children f784b5b1914c
comparison
equal deleted inserted replaced
194:8548dc425697 195:975a3f0965e2
48 SettingsPageApplication(QWidget* parent = nullptr); 48 SettingsPageApplication(QWidget* parent = nullptr);
49 void SaveInfo() override; 49 void SaveInfo() override;
50 50
51 private: 51 private:
52 QWidget* CreateAnimeListWidget(); 52 QWidget* CreateAnimeListWidget();
53 QWidget* CreateGeneralWidget();
53 decltype(session.config.anime_list.score_format) format; 54 decltype(session.config.anime_list.score_format) format;
54 Themes theme; 55 Themes theme;
55 QLocale locale; 56 QLocale locale;
56 Anime::TitleLanguage language; 57 Anime::TitleLanguage language;
57 bool display_aired_episodes; 58 bool display_aired_episodes;