mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* GridView shouldn't delete the old model when setting a new one.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user