vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Nov 29 
23:32:41 2011 +0100| [71e8745a8aad584c6e5fa1917ef8100a6b404c87] | committer: 
Jean-Baptiste Kempf

Qt4: Playlists: Fixing drop.

KDE sends a move event by default, unless ctrl is pressed

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp 
b/modules/gui/qt4/main_interface.cpp
index 13fda87..2a3a8f1 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -1186,7 +1186,7 @@ void MainInterface::dropEvent(QDropEvent *event)
 
 void MainInterface::dropEventPlay( QDropEvent *event, bool b_play )
 {
-    if( event->possibleActions() & Qt::CopyAction )
+    if( event->possibleActions() & ( Qt::CopyAction | Qt::MoveAction ) )
        event->setDropAction( Qt::CopyAction );
     else
         return;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to