1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 17:29:42 +01:00

One workaround attempt at fixing charts crash

This commit is contained in:
Leo Franchi 2013-01-15 11:51:09 -05:00
parent e9d99f05c2
commit d388b3608e

View File

@ -106,8 +106,8 @@ GridView::setProxyModel( PlayableProxyModel* model )
connect( m_proxyModel, SIGNAL( filterChanged( QString ) ), SLOT( onFilterChanged( QString ) ) );
connect( m_proxyModel, SIGNAL( rowsInserted( QModelIndex, int, int ) ), SLOT( verifySize() ) );
connect( m_proxyModel, SIGNAL( rowsRemoved( QModelIndex, int, int ) ), SLOT( verifySize() ) );
connect( proxyModel(), SIGNAL( modelReset() ), SLOT( layoutItems() ) );
connect( proxyModel(), SIGNAL( modelReset() ), SLOT( layoutItems() ), Qt::QueuedConnection );
if ( m_delegate )
delete m_delegate;