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

* Style fixes.

This commit is contained in:
Christian Muehlhaeuser
2014-08-31 21:33:51 +02:00
parent 07851d7eda
commit 16c8b72846
2 changed files with 9 additions and 13 deletions

View File

@@ -142,7 +142,6 @@ DropJob::acceptsMimeData( const QMimeData* data, DropJob::DropTypes acceptedType
if ( !data->hasFormat( "text/uri-list" ) )
return false;
const QString url = data->data( "text/plain" );
const QString urlList = data->data( "text/uri-list" ).trimmed();
@@ -205,7 +204,6 @@ DropJob::acceptsMimeData( const QMimeData* data, DropJob::DropTypes acceptedType
if ( resolver->canParseUrl( url, ExternalResolver::Track ) )
return true;
}
}
if ( acceptedType.testFlag( Album ) )
@@ -223,7 +221,6 @@ DropJob::acceptsMimeData( const QMimeData* data, DropJob::DropTypes acceptedType
if ( resolver->canParseUrl( url, ExternalResolver::Album ) )
return true;
}
}
if ( acceptedType.testFlag( Artist ) )
@@ -241,7 +238,6 @@ DropJob::acceptsMimeData( const QMimeData* data, DropJob::DropTypes acceptedType
if ( resolver->canParseUrl( url, ExternalResolver::Artist ) )
return true;
}
}
// We whitelist certain url-shorteners since they do some link checking. Often playable (e.g. spotify) links hide behind them,