mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
* If we set a new model it might already contain content, so we need to call onViewChanged to check if we need to load covers / metadata.
This commit is contained in:
@@ -215,6 +215,7 @@ TrackView::setPlayableModel( PlayableModel* model )
|
|||||||
setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
|
setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onViewChanged();
|
||||||
emit modelChanged();
|
emit modelChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user