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:
parent
e9d99f05c2
commit
d388b3608e
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user