mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Use PC3 instead of QQC2
In the shell we need to use PlasmaComponents, otherwise the style will be off
This commit is contained in:
parent
1933626d36
commit
8014d1000c
1 changed files with 3 additions and 4 deletions
|
|
@ -20,10 +20,9 @@
|
|||
|
||||
import QtQuick 2.0
|
||||
import QtQuick.Layouts 1.1
|
||||
import QtQuick.Controls 2.2 as Controls
|
||||
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import org.kde.plasma.components 2.0 as Components
|
||||
import org.kde.plasma.components 3.0 as PC3
|
||||
|
||||
RowLayout {
|
||||
id: brightnessRoot
|
||||
|
|
@ -49,13 +48,13 @@ RowLayout {
|
|||
Layout.alignment: Qt.AlignTop
|
||||
spacing: 0
|
||||
|
||||
Components.Label {
|
||||
PC3.Label {
|
||||
id: brightnessLabel
|
||||
width: parent.width
|
||||
height: paintedHeight
|
||||
}
|
||||
|
||||
Controls.Slider {
|
||||
PC3.Slider {
|
||||
id: brightnessSlider
|
||||
width: parent.width
|
||||
onMoved: brightnessRoot.moved()
|
||||
|
|
|
|||
Loading…
Reference in a new issue