We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669dfaa commit a56beb3Copy full SHA for a56beb3
src/main.cpp
@@ -83,7 +83,11 @@ QTranslator translator, qtTranslator;
83
void configureApp(bool gui)
84
{
85
if (gui) {
86
+#if defined(Q_OS_WIN) && QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
87
+ QApplication::setStyle("Fusion"); // Supports dark scheme on Win 10/11
88
+#else
89
QApplication::setStyle(new StyleOverride);
90
+#endif
91
}
92
93
// Configure translations
0 commit comments