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 890a5a8 commit 4eab812Copy full SHA for 4eab812
src/main.cpp
@@ -79,7 +79,6 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
79
#endif
80
81
// Set theme
82
- QQuickStyle::setStyle("Material");
83
qputenv("QT_QUICK_CONTROLS_MATERIAL_THEME", QByteArray("Dark"));
84
qputenv("QT_QUICK_CONTROLS_MATERIAL_ACCENT", QByteArray("#3daee9"));
85
@@ -95,6 +94,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
95
94
QSettings settings(QCoreApplication::organizationName(), QCoreApplication::applicationName().toLower());
96
97
+ QQuickStyle::setStyle("Material");
98
// Instantiate app
99
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
100
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
0 commit comments