From 5141b183e206889ebc27e43cb016d565dfe1d5d3 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Tue, 29 Oct 2024 12:45:57 +0100 Subject: [PATCH] fixup! Library: improve logged scan summary, also log new and missing tracks --- src/library/scanner/libraryscanner.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/library/scanner/libraryscanner.cpp b/src/library/scanner/libraryscanner.cpp index a6a2b07d8f9..22dc1e659fd 100644 --- a/src/library/scanner/libraryscanner.cpp +++ b/src/library/scanner/libraryscanner.cpp @@ -199,7 +199,7 @@ void LibraryScanner::slotStartScan() { changeScannerState(SCANNING); QSet trackLocations = m_trackDao.getAllTrackLocations(); - // Store number of existing tracks so we can calculat the number + // Store number of existing tracks so we can calculate the number // of missing tracks in slotFinishUnhashedScan(). m_previouslyMissingTracks = m_trackDao.getAllMissingTrackLocations(); m_numPreviouslyExistingTracks = m_trackDao.getAllExistingTrackLocations().size(); @@ -369,8 +369,7 @@ void LibraryScanner::cleanUpScan() { << "Found" << m_numRelocatedTracks << "moved track(s)"; - m_scannerGlobal->addedTracks(), - emit tracksRelocated(relocatedTracks); + emit tracksRelocated(relocatedTracks); } }