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

Remove constant indexing jobs

This commit is contained in:
Jeff Mitchell
2012-07-09 09:56:26 -04:00
parent a8a8218e93
commit 5e41e052ba

View File

@@ -143,8 +143,6 @@ TomahawkSettings::TomahawkSettings( QObject* parent )
createSpotifyAccount(); createSpotifyAccount();
if ( lastfmAcct.isEmpty() ) if ( lastfmAcct.isEmpty() )
createLastFmAccount(); createLastFmAccount();
QTimer::singleShot( 0, this, SLOT( updateIndex() ) );
} }
@@ -1304,8 +1302,6 @@ TomahawkSettings::updateIndex()
{ {
DatabaseCommand* cmd = new DatabaseCommand_UpdateSearchIndex(); DatabaseCommand* cmd = new DatabaseCommand_UpdateSearchIndex();
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( cmd ) ); Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( cmd ) );
QTimer::singleShot( 5000, this, SLOT( updateIndex() ) );
} }