Commit 04b481a2 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by Ellenjott [LNJ]

Don't force the QtQuickControls Theme

parent 63910db3
[Controls]
Style=Material
[Universal]
Theme=System
Accent=Green
......
......@@ -132,9 +132,13 @@ int main(int argc, char *argv[])
//
// QML-GUI
//
#ifndef SAILFISH_OS
// QtQuickControls2 Style
qputenv("QT_QUICK_CONTROLS_STYLE", "Material");
if (qgetenv("QT_QUICK_CONTROLS_STYLE").isEmpty()) {
qDebug() << "QT_QUICK_CONTROLS_STYLE not set, setting to Material";
qputenv("QT_QUICK_CONTROLS_STYLE", "Material");
}
#endif
QQmlApplicationEngine engine;
......
......@@ -31,7 +31,7 @@ Kirigami.ApplicationWindow {
// signals
signal addContactDialogRequested()
header: Kirigami.ToolBarApplicationHeader {
header: Kirigami.ApplicationHeader {
preferredHeight: Kirigami.Units.gridUnit * 2.25
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment