diff --git a/src/libtomahawk/PlaylistInterface.cpp b/src/libtomahawk/PlaylistInterface.cpp index 3340759d4..925846f42 100644 --- a/src/libtomahawk/PlaylistInterface.cpp +++ b/src/libtomahawk/PlaylistInterface.cpp @@ -66,7 +66,7 @@ PlaylistInterface::siblingResult( int itemsAway ) const { safetyCheck = idx; Tomahawk::query_ptr query = queryAt( idx ); - if ( query->numResults() ) + if ( query && query->numResults() ) { return query->results().first(); }