mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01: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:
parent
3e1310eac4
commit
d24ff66696
@ -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() ) );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user