mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +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
|
void
|
||||||
GridView::setPlayableModel( PlayableModel* model )
|
GridView::setPlayableModel( PlayableModel* model )
|
||||||
{
|
{
|
||||||
if ( m_model )
|
|
||||||
delete m_model;
|
|
||||||
|
|
||||||
m_inited = false;
|
m_inited = false;
|
||||||
m_model = model;
|
m_model = model;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user