From d84ce6b75e9266c5c4ace5ebf1f39baa03d6579d Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Sun, 21 Sep 2014 12:49:12 +0100 Subject: [PATCH] Report every scanned file. Although this will make the logfile larger it will give us much better hints which file we are failing on in th e case of crashes. --- src/libtomahawk/filemetadata/MusicScanner.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libtomahawk/filemetadata/MusicScanner.cpp b/src/libtomahawk/filemetadata/MusicScanner.cpp index d5083d489..a93214519 100644 --- a/src/libtomahawk/filemetadata/MusicScanner.cpp +++ b/src/libtomahawk/filemetadata/MusicScanner.cpp @@ -451,8 +451,7 @@ MusicScanner::readFile( const QFileInfo& fi ) if ( m_scanned ) if ( m_scanned % 3 == 0 && m_showProgress ) SourceList::instance()->getLocal()->scanningProgress( m_scanned ); - if ( m_scanned % 100 == 0 ) - tDebug( LOGINFO ) << "Scan progress:" << m_scanned << fi.canonicalFilePath(); + tDebug( LOGINFO ) << "Scanning file:" << m_scanned << fi.canonicalFilePath(); if ( m.toMap().isEmpty() ) {