Commit 71e8745a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

Qt4: Playlists: Fixing drop.

KDE sends a move event by default, unless ctrl is pressed
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent dce9c498
...@@ -1186,7 +1186,7 @@ void MainInterface::dropEvent(QDropEvent *event) ...@@ -1186,7 +1186,7 @@ void MainInterface::dropEvent(QDropEvent *event)
void MainInterface::dropEventPlay( QDropEvent *event, bool b_play ) void MainInterface::dropEventPlay( QDropEvent *event, bool b_play )
{ {
if( event->possibleActions() & Qt::CopyAction ) if( event->possibleActions() & ( Qt::CopyAction | Qt::MoveAction ) )
event->setDropAction( Qt::CopyAction ); event->setDropAction( Qt::CopyAction );
else else
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment