aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/themes/SystemTheme.cpp
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2023-04-08 19:26:43 +0200
committerGitHub <noreply@github.com>2023-04-08 19:26:43 +0200
commit1b8b044b52bb7f4073ae366a703bec080f12f57e (patch)
tree3acd5ce23006b3a489633d06d993767f85e5c1d5 /launcher/ui/themes/SystemTheme.cpp
parented085630db63401ac50d26403d953f5d9993b9ce (diff)
parenta9881115073cc73e668f14b23851914ddfa9b4e7 (diff)
downloadPrismLauncher-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.cpp8
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()