mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
* Fixed crashing when quickly resetting filter patterns in TreeProxyModel.
This commit is contained in:
@@ -103,6 +103,8 @@ TreeProxyModel::setFilter( const QString& pattern )
|
|||||||
{
|
{
|
||||||
disconnect( m_artistsFilterCmd, SIGNAL( artists( QList<Tomahawk::artist_ptr> ) ),
|
disconnect( m_artistsFilterCmd, SIGNAL( artists( QList<Tomahawk::artist_ptr> ) ),
|
||||||
this, SLOT( onFilterArtists( QList<Tomahawk::artist_ptr> ) ) );
|
this, SLOT( onFilterArtists( QList<Tomahawk::artist_ptr> ) ) );
|
||||||
|
|
||||||
|
m_artistsFilterCmd = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_filter.isEmpty() )
|
if ( m_filter.isEmpty() )
|
||||||
|
Reference in New Issue
Block a user