[vlc-commits] Qt: correctly play after drag and drop

Jean-Baptiste Kempf git at videolan.org
Mon Oct 7 17:55:59 CEST 2013


vlc/vlc-2.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct  7 17:51:34 2013 +0200| [6794364db8a578774c2320bb95ef593634f33435] | committer: Jean-Baptiste Kempf

Qt: correctly play after drag and drop

Close #9502

(cherry picked from commit 4a5e824aeefcc447d2ef5887f9ef891676f7b3e3)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=6794364db8a578774c2320bb95ef593634f33435
---

 modules/gui/qt4/actions_manager.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/actions_manager.cpp b/modules/gui/qt4/actions_manager.cpp
index fa3703b..d5595fd 100644
--- a/modules/gui/qt4/actions_manager.cpp
+++ b/modules/gui/qt4/actions_manager.cpp
@@ -105,7 +105,7 @@ void ActionsManager::doAction( int id_action )
 
 void ActionsManager::play()
 {
-    if( THEPL->current.i_size == 0 )
+    if( THEPL->current.i_size == 0 && THEPL->items.i_size == 0 )
     {
         /* The playlist is empty, open a file requester */
         THEDP->openFileDialog();



More information about the vlc-commits mailing list