Formatting

This commit is contained in:
Jonas Kvinge
2021-04-26 22:56:14 +02:00
parent da83025fb0
commit 41b238e87b
2 changed files with 22 additions and 21 deletions

View File

@@ -864,8 +864,9 @@ void CollectionWatcher::RescanTracksAsync(const SongList &songs) {
song_rescan_queue_.append(songs); song_rescan_queue_.append(songs);
// Call only if it's not already running // Call only if it's not already running
if (!rescan_in_progress_) if (!rescan_in_progress_) {
QMetaObject::invokeMethod(this, "RescanTracksNow", Qt::QueuedConnection); QMetaObject::invokeMethod(this, "RescanTracksNow", Qt::QueuedConnection);
}
} }