mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Fixed crash in TreeProxyModel.
This commit is contained in:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user