Make the source property an alias
commitfa2f33174f86075537f48a7357d930355685f01b
authorAlbert Astals Cid <albert.astals@canonical.com>
dateThu 3 Dec 2015, 15:50 (11 years ago)
parent10231ae
plugins/Dash/CardAudioProgress.qml+1−2
@@ -25,14 +25,13 @@ Item {
2525 visible: AudioUrlComparer.compare(source, DashAudioPlayer.currentSource)
2626
2727 property int duration: 0
28− property url source
28+ property alias source: progress.source
2929 property color color: theme.palette.normal.baseText
3030 readonly property int position: root.visible ? DashAudioPlayer.position / 1000 : 0
3131
3232 AudioProgressBar {
3333 id: progress
3434 anchors { left: parent.left; right: parent.right }
35− source: root.source
3635 }
3736
3837 Label {