Code Review
/
apps
/
mediaplayer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
mediaplayer: qml: fix clear() being called on wrong object
[apps/mediaplayer.git]
/
app
/
MediaPlayer.qml
diff --git
a/app/MediaPlayer.qml
b/app/MediaPlayer.qml
index
6f2fa81
..
6f8d0db
100644
(file)
--- a/
app/MediaPlayer.qml
+++ b/
app/MediaPlayer.qml
@@
-130,7
+130,7
@@
ApplicationWindow {
target: mediaplayer
onPlaylistChanged: {
- playlist
.clear()
+ playlist
_model.clear();
for (var i = 0; i < playlist.list.length; i++) {
var item = playlist.list[i]