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:
parent
408b104b8d
commit
4629372c97
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user