From 3487142496d39739067a415888a46e69567dbde5 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 3 Oct 2014 07:11:29 +0200 Subject: [PATCH] * Disable wiping index on clucene error. --- src/libtomahawk/database/fuzzyindex/FuzzyIndex.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libtomahawk/database/fuzzyindex/FuzzyIndex.cpp b/src/libtomahawk/database/fuzzyindex/FuzzyIndex.cpp index fbbcc8db7..f777f07b7 100644 --- a/src/libtomahawk/database/fuzzyindex/FuzzyIndex.cpp +++ b/src/libtomahawk/database/fuzzyindex/FuzzyIndex.cpp @@ -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;