[vlc-commits] qml: playlist not start playing added item automatically

Fatih Uzunoglu git at videolan.org
Thu Oct 15 10:32:35 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Oct  9 19:56:27 2020 +0300| [10a562ae48d985f73a9fa4411b4a6959bc2c1cf7] | committer: Pierre Lamot

qml: playlist not start playing added item automatically

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10a562ae48d985f73a9fa4411b4a6959bc2c1cf7
---

 modules/gui/qt/playlist/qml/PLItem.qml           | 2 +-
 modules/gui/qt/playlist/qml/PlaylistListView.qml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt/playlist/qml/PLItem.qml b/modules/gui/qt/playlist/qml/PLItem.qml
index e1cfbe6f8e..9476e061cc 100644
--- a/modules/gui/qt/playlist/qml/PLItem.qml
+++ b/modules/gui/qt/playlist/qml/PLItem.qml
@@ -380,7 +380,7 @@ Rectangle {
                             var urlList = []
                             for ( var url in drop.urls)
                                 urlList.push(drop.urls[url])
-                            mainPlaylistController.insert(root.plmodel.count, urlList)
+                            mainPlaylistController.insert(root.plmodel.count, urlList, false)
                         } else {
                             root.plmodel.moveItemsPost(root.plmodel.getSelection(), root.plmodel.count - 1)
                         }
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index 7c6c7eebdf..37079a4077 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -321,7 +321,7 @@ Widgets.NavigableFocusScope {
                                 var urlList = []
                                 for ( var url in drop.urls)
                                     urlList.push(drop.urls[url])
-                                mainPlaylistController.insert(root.plmodel.count, urlList)
+                                mainPlaylistController.insert(root.plmodel.count, urlList, false)
                             } else {
                                 root.plmodel.moveItemsPost(root.plmodel.getSelection(), root.plmodel.count - 1)
                             }
@@ -398,7 +398,7 @@ Widgets.NavigableFocusScope {
                                 var urlList = []
                                 for ( var url in drop.urls)
                                     urlList.push(drop.urls[url])
-                                mainPlaylistController.insert(target, urlList)
+                                mainPlaylistController.insert(target, urlList, false)
                             } else {
                                 root.plmodel.moveItemsPre(root.plmodel.getSelection(), target)
                             }



More information about the vlc-commits mailing list