aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/themes/SystemTheme.cpp
diff options
context:
space:
mode:
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()