From b162bff92983b4e8a5abd5210b37a68427536ac9 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 15 Jul 2024 21:42:45 +0200 Subject: [PATCH] Default to Fusion style on windows --- src/kvirc/kernel/KviOptions.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kvirc/kernel/KviOptions.cpp b/src/kvirc/kernel/KviOptions.cpp index 5e77e0400..2d37238bf 100644 --- a/src/kvirc/kernel/KviOptions.cpp +++ b/src/kvirc/kernel/KviOptions.cpp @@ -413,7 +413,11 @@ KviStringOption g_stringOptionsTable[KVI_NUM_STRING_OPTIONS] = { STRING_OPTION("LogsPath", "", KviOption_sectFlagUser | KviOption_encodePath), STRING_OPTION("LogsDynamicPath", "", KviOption_sectFlagUser | KviOption_encodePath), STRING_OPTION("LogsExportPath", "", KviOption_sectFlagUser | KviOption_encodePath), +#if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW) + STRING_OPTION("QtStyle", "Fusion", KviOption_sectFlagIrcView | KviOption_resetUpdateGui | KviOption_groupTheme | KviOption_resetReloadImages) +#else STRING_OPTION("QtStyle", "", KviOption_sectFlagIrcView | KviOption_resetUpdateGui | KviOption_groupTheme | KviOption_resetReloadImages) +#endif }; #define STRINGLIST_OPTION(_txt, _flags) \