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:
parent
fce553cfc0
commit
7ee32acd23
@ -284,10 +284,10 @@ DropJob::isDropType( DropJob::DropType desired, const QMimeData* data )
|
|||||||
if ( urlList.contains( "xml" ) && urlList.contains( "iTunes" ) )
|
if ( urlList.contains( "xml" ) && urlList.contains( "iTunes" ) )
|
||||||
return validateLocalFiles( urlList, "xml" );
|
return validateLocalFiles( urlList, "xml" );
|
||||||
|
|
||||||
if( url.contains( "xspf" ) || urlList.contains( "xspf" ) )
|
if ( url.contains( "xspf" ) || urlList.contains( "xspf" ) )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if( url.contains( "m3u" ) || urlList.contains( "m3u" ) )
|
if ( url.contains( "m3u" ) || urlList.contains( "m3u" ) )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Not the most elegant
|
// Not the most elegant
|
||||||
@ -308,7 +308,7 @@ DropJob::isDropType( DropJob::DropType desired, const QMimeData* data )
|
|||||||
{
|
{
|
||||||
if ( resolver->canParseUrl( url, ExternalResolver::Playlist ) )
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user