1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 16:14:40 +02:00

* Disable wiping index on clucene error.

This commit is contained in:
Christian Muehlhaeuser
2014-10-03 07:11:29 +02:00
parent 6e66f98092
commit 3487142496

View File

@@ -267,8 +267,6 @@ FuzzyIndex::search( const Tomahawk::query_ptr& query )
catch( LuceneException& error )
{
tDebug() << "Caught Lucene error:" << error.what() << query->toString();
QTimer::singleShot( 0, this, SLOT( wipeIndex() ) );
}
return resultsmap;
@@ -311,8 +309,6 @@ FuzzyIndex::searchAlbum( const Tomahawk::query_ptr& query )
catch( LuceneException& error )
{
tDebug() << "Caught Lucene error:" << error.what();
QTimer::singleShot( 0, this, SLOT( wipeIndex() ) );
}
return resultsmap;