Commit 24eeabaa authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

TracksView: explicitely reject innapropriate event.

parent 8b5704c6
......@@ -284,6 +284,11 @@ TracksView::dragEnterEvent( QDragEnterEvent *event )
{
if ( event->mimeData()->hasFormat( "vlmc/uuid" ) )
event->acceptProposedAction();
else
{
event->ignore();
return ;
}
QString fullId = QString( event->mimeData()->data( "vlmc/uuid" ) );
Clip *clip = Library::getInstance()->clip( fullId );
......
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