1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-31 05:38:04 +01:00

* updateIndex is queueing up internally.

This commit is contained in:
Christian Muehlhaeuser 2014-09-20 21:25:49 +02:00
parent e9d78d570b
commit c501b7bd11

View File

@ -312,7 +312,7 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
else if ( oldVersion == 4 || oldVersion == 5 )
{
// 0.3.0 contained a bug which prevent indexing local files. Force a reindex.
QTimer::singleShot( 0, this, SLOT( updateIndex() ) );
updateIndex();
}
else if ( oldVersion == 6 )
{
@ -676,7 +676,7 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
else if ( oldVersion == 15 )
{
// 0.8.0 switches to Lucene++. Force a reindex.
QTimer::singleShot( 0, this, SLOT( updateIndex() ) );
updateIndex();
}
}