Qt: fix crash when switching playlists
This commit is contained in:
parent
240856f19c
commit
20900463f4
|
@ -253,6 +253,7 @@ void GridView::resizeEvent(QResizeEvent*)
|
|||
|
||||
void GridView::reset()
|
||||
{
|
||||
m_visibleIndexes.clear();
|
||||
QAbstractItemView::reset();
|
||||
refresh();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue