From 7ee32acd2340eee84ef80250f4fff40ac8e9aac9 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 15 Nov 2014 15:23:47 +0100 Subject: [PATCH] Added debug. --- src/libtomahawk/DropJob.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libtomahawk/DropJob.cpp b/src/libtomahawk/DropJob.cpp index 17f517a2f..6bbab344b 100644 --- a/src/libtomahawk/DropJob.cpp +++ b/src/libtomahawk/DropJob.cpp @@ -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; } }