mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
correctly check for isNull
This commit is contained in:
parent
34c8c79ef5
commit
bb72c3efb2
@ -403,7 +403,7 @@ DropJob::removeRemoteSources()
|
||||
bool hasLocalSource = false;
|
||||
foreach ( const Tomahawk::result_ptr& result, item->results() )
|
||||
{
|
||||
if ( result->collection()->source() && result->collection()->source()->isLocal() )
|
||||
if ( !result->collection()->source().isNull() && result->collection()->source()->isLocal() )
|
||||
hasLocalSource = true;
|
||||
}
|
||||
if ( hasLocalSource )
|
||||
|
Loading…
x
Reference in New Issue
Block a user