CollectionWatcher: Formatting

This commit is contained in:
Jonas Kvinge 2024-08-08 17:12:51 +02:00
parent 79b03993b0
commit e8f64bfe8f
1 changed files with 2 additions and 1 deletions

View File

@ -801,6 +801,7 @@ void CollectionWatcher::UpdateCueAssociatedSongs(const QString &file,
t->deleted_songs << old_cue; t->deleted_songs << old_cue;
} }
} }
} }
void CollectionWatcher::UpdateNonCueAssociatedSong(const QString &file, void CollectionWatcher::UpdateNonCueAssociatedSong(const QString &file,
@ -1226,7 +1227,7 @@ void CollectionWatcher::PerformScan(const bool incremental, const bool ignore_mt
if (stop_requested_ || abort_requested_) break; if (stop_requested_ || abort_requested_) break;
ScanTransaction transaction(this, dir.id, incremental, ignore_mtimes, mark_songs_unavailable_); ScanTransaction transaction(this, dir.id, incremental, ignore_mtimes, mark_songs_unavailable_);
CollectionSubdirectoryList subdirs(transaction.GetAllSubdirs()); CollectionSubdirectoryList subdirs = transaction.GetAllSubdirs();
if (subdirs.isEmpty()) { if (subdirs.isEmpty()) {
qLog(Debug) << "Collection directory wasn't in subdir list."; qLog(Debug) << "Collection directory wasn't in subdir list.";