1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 21:57:41 +02:00

Unbreak url drops

This commit is contained in:
Hugo Lindström
2011-11-20 09:23:38 +01:00
parent 302bdd4c6d
commit 23d30e6197

View File

@@ -91,7 +91,7 @@ DropJob::acceptsMimeData( const QMimeData* data, DropJob::DropTypes acceptedType
} }
// check plain text url types // check plain text url types
if ( !data->hasFormat( "text/plain" ) || !data->hasFormat( "text/uri-list" ) ) if ( !data->hasFormat( "text/plain" ) )
return false; return false;
const QString url = data->data( "text/plain" ); const QString url = data->data( "text/plain" );