[vlc-commits] qt: standardpanel: Fix adding files to playlists

Hugo Beauzée-Luyssen git at videolan.org
Wed Jan 18 16:01:31 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jan 18 15:59:54 2017 +0100| [53ea5185c6b6c318798a6233b4b290d39ded2e69] | committer: Hugo Beauzée-Luyssen

qt: standardpanel: Fix adding files to playlists

Fix #17873

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

 modules/gui/qt/components/playlist/standardpanel.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/qt/components/playlist/standardpanel.cpp b/modules/gui/qt/components/playlist/standardpanel.cpp
index 3a586c3..b6dd29f 100644
--- a/modules/gui/qt/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt/components/playlist/standardpanel.cpp
@@ -365,8 +365,7 @@ void StandardPLPanel::popupAction( QAction *action )
         uris = THEDP->showSimpleOpen();
         if ( uris.isEmpty() ) return;
         uris.sort();
-        foreach( const QString &file, uris )
-            a.uris << qtu( toURI( toNativeSeparators( file ) ) );
+        a.uris = uris;
         action->setData( QVariant::fromValue( a ) );
         model->action( action, list );
         break;



More information about the vlc-commits mailing list