[vlc-commits] [Git][videolan/vlc][master] qml: fix ml drag and drop
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Thu Jan 6 13:51:36 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
45cc25b8 by Prince Gupta at 2022-01-06T12:59:26+00:00
qml: fix ml drag and drop
fixup 9958d3dbda2977b85dd3504851d0cb429035b0ea
- - - - -
2 changed files:
- modules/gui/qt/medialibrary/qml/MusicArtistDelegate.qml
- modules/gui/qt/widgets/qml/MLDragItem.qml
Changes:
=====================================
modules/gui/qt/medialibrary/qml/MusicArtistDelegate.qml
=====================================
@@ -86,7 +86,7 @@ T.Control {
setData(identifier, [model])
}
- function getSelectedInputItem() {
+ function getSelectedInputItem(cb) {
return MediaLib.mlInputItem([model.id], cb)
}
}
=====================================
modules/gui/qt/widgets/qml/MLDragItem.qml
=====================================
@@ -36,7 +36,7 @@ DragItem {
var inputIdList = root.indexesData.map(function(obj){
return obj[root.mlIDRole]
})
- Medialib.mlInputItem(inputIdList, cb)
+ MediaLib.mlInputItem(inputIdList, cb)
}
onRequestData: {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/45cc25b81c47595578347d528acb51a3ed23e528
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/45cc25b81c47595578347d528acb51a3ed23e528
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list