mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
* Style fixes.
This commit is contained in:
@@ -58,7 +58,7 @@ DatabaseCommand_Resolve::exec( DatabaseImpl* lib )
|
|||||||
tDebug() << "Using result-hint to speed up resolving:" << m_query->resultHint();
|
tDebug() << "Using result-hint to speed up resolving:" << m_query->resultHint();
|
||||||
|
|
||||||
Tomahawk::result_ptr result = lib->resultFromHint( m_query );
|
Tomahawk::result_ptr result = lib->resultFromHint( m_query );
|
||||||
if ( !result.isNull() && ( result->collection().isNull() || result->collection()->source()->isOnline() ) )
|
if ( result && ( !result->collection() || result->collection()->source()->isOnline() ) )
|
||||||
{
|
{
|
||||||
QList<Tomahawk::result_ptr> res;
|
QList<Tomahawk::result_ptr> res;
|
||||||
res << result;
|
res << result;
|
||||||
|
Reference in New Issue
Block a user