diff options
author | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2023-04-08 19:26:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-08 19:26:43 +0200 |
commit | 1b8b044b52bb7f4073ae366a703bec080f12f57e (patch) | |
tree | 3acd5ce23006b3a489633d06d993767f85e5c1d5 /launcher/ui/themes/SystemTheme.cpp | |
parent | ed085630db63401ac50d26403d953f5d9993b9ce (diff) | |
parent | a9881115073cc73e668f14b23851914ddfa9b4e7 (diff) | |
download | PrismLauncher-1b8b044b52bb7f4073ae366a703bec080f12f57e.tar.gz PrismLauncher-1b8b044b52bb7f4073ae366a703bec080f12f57e.tar.bz2 PrismLauncher-1b8b044b52bb7f4073ae366a703bec080f12f57e.zip |
Merge pull request #982 from Scrumplex/fix-theming-style
Diffstat (limited to 'launcher/ui/themes/SystemTheme.cpp')
-rw-r--r-- | launcher/ui/themes/SystemTheme.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/launcher/ui/themes/SystemTheme.cpp b/launcher/ui/themes/SystemTheme.cpp index 24875e33..a95bc875 100644 --- a/launcher/ui/themes/SystemTheme.cpp +++ b/launcher/ui/themes/SystemTheme.cpp @@ -60,9 +60,13 @@ SystemTheme::SystemTheme() themeDebugLog() << "System theme not found, defaulted to Fusion"; } -void SystemTheme::apply() +void SystemTheme::apply(bool initial) { - ITheme::apply(); + // See https://github.com/MultiMC/Launcher/issues/1790 + // or https://github.com/PrismLauncher/PrismLauncher/issues/490 + if (initial) + return; + ITheme::apply(initial); } QString SystemTheme::id() |