mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Fixed crash in TreeProxyModel.
This commit is contained in:
parent
f520b6d5d0
commit
9eeed5223c
@ -329,7 +329,7 @@ TreeProxyModel::siblingItem( int itemsAway, bool readOnly )
|
||||
break;
|
||||
|
||||
TreeModelItem* item = itemFromIndex( mapToSource( idx ) );
|
||||
if ( item && item->result()->isOnline() )
|
||||
if ( item && !item->result().isNull() && item->result()->isOnline() )
|
||||
{
|
||||
qDebug() << "Next PlaylistItem found:" << item->result()->url();
|
||||
if ( !readOnly )
|
||||
|
Loading…
x
Reference in New Issue
Block a user