void MainInterface::dropEventPlay( QDropEvent *event, bool b_play )
{
+ event->setDropAction( Qt::CopyAction );
+ if( !event->possibleActions() & Qt::CopyAction )
+ return;
+
const QMimeData *mimeData = event->mimeData();
/* D&D of a subtitles file, add it on the fly */
mimeData->urls()[0].toLocalFile() ) ),
true ) )
{
- event->acceptProposedAction();
+ event->accept();
return;
}
}
RecentsMRL::getInstance( p_intf )->addRecent( s );
}
}
- event->acceptProposedAction();
+ event->accept();
}
void MainInterface::dragEnterEvent(QDragEnterEvent *event)
{