From 55b8067971cca91e2a9f79afa25253c84fd32a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Tue, 7 Apr 2026 09:45:14 +0200 Subject: [PATCH] Set style to nullptr? Took 7 minutes --- cockatrice/src/interface/theme_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/interface/theme_manager.cpp b/cockatrice/src/interface/theme_manager.cpp index 5809ce350..31ab37de9 100644 --- a/cockatrice/src/interface/theme_manager.cpp +++ b/cockatrice/src/interface/theme_manager.cpp @@ -350,7 +350,7 @@ void ThemeManager::themeChangedSlot() qApp->setStyle(QStyleFactory::create("Fusion")); qApp->setPalette(createDarkGreenFusionPalette()); } else { - qApp->setStyle(QStyleFactory::create(defaultStyleName)); // setting the style also sets the palette + qApp->setStyle(nullptr); // setting the style also sets the palette } if (dirPath.isEmpty()) {