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

* Fixed crashing when quickly resetting filter patterns in TreeProxyModel.

This commit is contained in:
Christian Muehlhaeuser 2011-09-06 03:45:13 +02:00
parent 7a731c0fa5
commit 8fa8f9b733

View File

@ -103,6 +103,8 @@ TreeProxyModel::setFilter( const QString& pattern )
{
disconnect( m_artistsFilterCmd, SIGNAL( artists( QList<Tomahawk::artist_ptr> ) ),
this, SLOT( onFilterArtists( QList<Tomahawk::artist_ptr> ) ) );
m_artistsFilterCmd = 0;
}
if ( m_filter.isEmpty() )