1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 22:38:33 +01:00

Added debug.

This commit is contained in:
Christian Muehlhaeuser 2014-11-15 15:23:47 +01:00
parent fce553cfc0
commit 7ee32acd23

View File

@ -284,10 +284,10 @@ DropJob::isDropType( DropJob::DropType desired, const QMimeData* data )
if ( urlList.contains( "xml" ) && urlList.contains( "iTunes" ) )
return validateLocalFiles( urlList, "xml" );
if( url.contains( "xspf" ) || urlList.contains( "xspf" ) )
if ( url.contains( "xspf" ) || urlList.contains( "xspf" ) )
return true;
if( url.contains( "m3u" ) || urlList.contains( "m3u" ) )
if ( url.contains( "m3u" ) || urlList.contains( "m3u" ) )
return true;
// Not the most elegant
@ -308,7 +308,7 @@ DropJob::isDropType( DropJob::DropType desired, const QMimeData* data )
{
if ( resolver->canParseUrl( url, ExternalResolver::Playlist ) )
{
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Accepting current drop as a playlist";
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Accepting current drop as a playlist" << resolver->name();
return true;
}
}