[spinbox] Don't use QQC2 items when we should use PlasmaComponents

BUG: 423445
FIXED-IN: 5.72
This commit is contained in:
Nate Graham 2020-06-25 12:42:48 -06:00
parent f96f17c285
commit 8a4576a751

View File

@ -4,6 +4,7 @@ import QtQuick 2.12
import QtQuick.Controls @QQC2_VERSION@
import QtQuick.Templates @QQC2_VERSION@ as T
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents3
import "private" as Private
T.SpinBox {
@ -103,7 +104,7 @@ T.SpinBox {
}
imagePath: "widgets/button"
prefix: up.pressed ? "pressed" : "normal"
Label {
PlasmaComponents3.Label {
anchors.centerIn: parent
text: "+"
}
@ -121,7 +122,7 @@ T.SpinBox {
}
imagePath: "widgets/button"
prefix: down.pressed ? "pressed" : "normal"
Label {
PlasmaComponents3.Label {
anchors.centerIn: parent
text: "-"
}