From 6ab558dd58ecbf5eb52cc1b822ba8b00d3d8bba6 Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Thu, 19 Feb 2026 08:36:35 +0100 Subject: [PATCH] reset style to the default instead of the first key (#6596) --- 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 30c3a0974..abacb2d68 100644 --- a/cockatrice/src/interface/theme_manager.cpp +++ b/cockatrice/src/interface/theme_manager.cpp @@ -346,7 +346,7 @@ void ThemeManager::themeChangedSlot() qApp->setStyle(QStyleFactory::create("Fusion")); qApp->setPalette(createDarkGreenFusionPalette()); } else { - qApp->setStyle(QStyleFactory::create(QStyleFactory::keys().first())); + qApp->setStyle(""); } if (dirPath.isEmpty()) {