1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

* GridView shouldn't delete the old model when setting a new one.

This commit is contained in:
Christian Muehlhaeuser 2012-12-23 17:24:18 +01:00
parent 408b104b8d
commit 4629372c97

View File

@ -131,9 +131,6 @@ GridView::setModel( QAbstractItemModel* model )
void
GridView::setPlayableModel( PlayableModel* model )
{
if ( m_model )
delete m_model;
m_inited = false;
m_model = model;