Commit 053d5448 authored by Fabian Vogt's avatar Fabian Vogt

Set the QtQuick Controls 1 style name explicitly

Summary:
It does explicitly what the comment above the export implies.
That way this warning on every use of Quick Controls 1 is gone:
WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib64/qt5/qml/QtQuick/Controls/Styles/Desktop"

Note that I'm not 100% sure that this does not have any
ill side effects as I don't quite understand what and where
org.kde.desktop is supposed to be.

Test Plan:
Started plasmashell and plasma-discover both with and without
the change, no difference except that the warning is now gone.

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7257
parent 592dc9e0
......@@ -97,6 +97,7 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=0
#Set the QtQuickControls style to our own: for QtQuickControls1
#it will fall back to Desktop, while it will use our own org.kde.desktop
#for QtQuickControlsStyle and Kirigami
export QT_QUICK_CONTROLS_1_STYLE=Desktop
export QT_QUICK_CONTROLS_STYLE=org.kde.desktop
# XCursor mouse theme needs to be applied here to work even for kded or ksmserver
......
......@@ -52,6 +52,7 @@ fi
#Set the QtQuickControls style to our own: for QtQuickControls1
#it will fall back to Desktop, while it will use our own org.kde.desktop
#for QtQuickControlsStyle and Kirigami
export QT_QUICK_CONTROLS_1_STYLE=Desktop
export QT_QUICK_CONTROLS_STYLE=org.kde.desktop
#In wayland we want Plasma to use Qt's scaling
......
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