1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-24 09:49:42 +01: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();
if ( lastfmAcct.isEmpty() )
createLastFmAccount();
QTimer::singleShot( 0, this, SLOT( updateIndex() ) );
}
@ -1304,8 +1302,6 @@ TomahawkSettings::updateIndex()
{
DatabaseCommand* cmd = new DatabaseCommand_UpdateSearchIndex();
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( cmd ) );
QTimer::singleShot( 5000, this, SLOT( updateIndex() ) );
}