Qt: Move language/theme setting to window

This commit is contained in:
Stenzek
2024-08-20 23:27:42 +10:00
parent 5c14ac2fd1
commit ccd7ba9acf
14 changed files with 184 additions and 127 deletions

View File

@@ -278,7 +278,7 @@ void RunOnUIThread(const std::function<void()>& func, bool block = false);
const char* GetDefaultLanguage();
/// Call when the language changes.
void InstallTranslator(QWidget* dialog_parent);
void UpdateApplicationLanguage(QWidget* dialog_parent);
/// Returns the application name and version, optionally including debug/devel config indicator.
QString GetAppNameAndVersion();