Fix namespace of RangeModel in Slider and ProgressBar

Now those components work as well.
This commit is contained in:
Sebastian Kügler 2013-02-20 05:27:11 +01:00
parent 71e2114541
commit 305e711c8c
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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