From e8f64bfe8f5db18dabfa242d294a2b9a7adf826d Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 8 Aug 2024 17:12:51 +0200 Subject: [PATCH] CollectionWatcher: Formatting --- src/collection/collectionwatcher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collection/collectionwatcher.cpp b/src/collection/collectionwatcher.cpp index 9b2946f7..5c52ae38 100644 --- a/src/collection/collectionwatcher.cpp +++ b/src/collection/collectionwatcher.cpp @@ -801,6 +801,7 @@ void CollectionWatcher::UpdateCueAssociatedSongs(const QString &file, t->deleted_songs << old_cue; } } + } 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; ScanTransaction transaction(this, dir.id, incremental, ignore_mtimes, mark_songs_unavailable_); - CollectionSubdirectoryList subdirs(transaction.GetAllSubdirs()); + CollectionSubdirectoryList subdirs = transaction.GetAllSubdirs(); if (subdirs.isEmpty()) { qLog(Debug) << "Collection directory wasn't in subdir list.";