mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Add some methods to ensure that there is always at least one job that can be going with ACL checks, for debugging/verification
This commit is contained in:
@@ -143,6 +143,8 @@ TomahawkSettings::TomahawkSettings( QObject* parent )
|
||||
createSpotifyAccount();
|
||||
if ( lastfmAcct.isEmpty() )
|
||||
createLastFmAccount();
|
||||
|
||||
QTimer::singleShot( 0, this, SLOT( updateIndex() ) );
|
||||
}
|
||||
|
||||
|
||||
@@ -1302,6 +1304,8 @@ TomahawkSettings::updateIndex()
|
||||
{
|
||||
DatabaseCommand* cmd = new DatabaseCommand_UpdateSearchIndex();
|
||||
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( cmd ) );
|
||||
|
||||
QTimer::singleShot( 2000, this, SLOT( updateIndex() ) );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user