mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Remove constant indexing jobs
This commit is contained in:
@@ -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() ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user