[vlc-commits] qt: fix add to playlist had no effect in NetworkDeviceModel
Pierre Lamot
git at videolan.org
Fri Jan 10 15:06:10 CET 2020
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Nov 29 17:47:47 2019 +0100| [8ece9f45ae500dc6a671628e6d06e886ceaaf0c3] | committer: Jean-Baptiste Kempf
qt: fix add to playlist had no effect in NetworkDeviceModel
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ece9f45ae500dc6a671628e6d06e886ceaaf0c3
---
modules/gui/qt/network/networkdevicemodel.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/network/networkdevicemodel.cpp b/modules/gui/qt/network/networkdevicemodel.cpp
index 7ee9029c81..6b43ec2428 100644
--- a/modules/gui/qt/network/networkdevicemodel.cpp
+++ b/modules/gui/qt/network/networkdevicemodel.cpp
@@ -120,6 +120,7 @@ bool NetworkDeviceModel::addToPlaylist(int index)
return false;
auto item = m_items[index];
vlc::playlist::Media media{ item.inputItem.get() };
+ m_ctx->getIntf()->p_sys->p_mainPlaylistController->append( { media }, false);
return true;
}
More information about the vlc-commits
mailing list