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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user