diff --git a/src/libtomahawk/database/databasecommand_resolve.cpp b/src/libtomahawk/database/databasecommand_resolve.cpp index 5fa2fa1d7..18975a8a5 100644 --- a/src/libtomahawk/database/databasecommand_resolve.cpp +++ b/src/libtomahawk/database/databasecommand_resolve.cpp @@ -42,10 +42,10 @@ DatabaseCommand_Resolve::exec( DatabaseImpl* lib ) qDebug() << "Using result-hint to speed up resolving:" << m_query->resultHint(); Tomahawk::result_ptr result = lib->resultFromHint( m_query ); - qDebug() << "Collection null:" << result.isNull(); +/* qDebug() << "Result null:" << result.isNull(); qDebug() << "Collection null:" << result->collection().isNull(); - qDebug() << "Source null:" << result->collection()->source().isNull(); - if ( !result.isNull() && result->collection()->source()->isOnline() ) + qDebug() << "Source null:" << result->collection()->source().isNull();*/ + if ( !result.isNull() && !result->collection().isNull() && result->collection()->source()->isOnline() ) { res << result; emit results( m_query->id(), res );