Fix namespace of RangeModel in Slider and ProgressBar
Now those components work as well.
This commit is contained in:
parent
71e2114541
commit
305e711c8c
@ -19,6 +19,7 @@
|
||||
|
||||
import QtQuick 2.0
|
||||
import org.kde.plasma.core 0.1 as PlasmaCore
|
||||
import org.kde.plasma.components 0.1 as PlasmaComponents
|
||||
import org.kde.qtextracomponents 0.1
|
||||
|
||||
/**
|
||||
@ -64,7 +65,7 @@ Item {
|
||||
height: 20
|
||||
opacity: enabled ? 1.0 : 0.5
|
||||
|
||||
RangeModel {
|
||||
PlasmaComponents.RangeModel {
|
||||
id: range
|
||||
|
||||
// default values
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
import QtQuick 2.0
|
||||
import org.kde.plasma.core 0.1 as PlasmaCore
|
||||
import org.kde.plasma.components 0.1 as PlasmaComponents
|
||||
import "private" as Private
|
||||
|
||||
// TODO: create a value indicator for plasma?
|
||||
@ -169,7 +170,7 @@ Item {
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
RangeModel {
|
||||
PlasmaComponents.RangeModel {
|
||||
id: range
|
||||
|
||||
minimumValue: 0.0
|
||||
|
Loading…
Reference in New Issue
Block a user