[Digikam-devel] [digikam] digikam/main: Enable deferred scanning of files

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Aug 21 15:31:02 BST 2011


Git commit 23e2f5a51db749bd3710491d4965167881af8bb0 by Marcel Wiesweg.
Committed on 21/08/2011 at 16:29.
Pushed by mwiesweg into branch 'master'.

Enable deferred scanning of files

This means when you add a larger number of new files "offline" while digikam is not running,
when starting digikam, it will not wait until all files are scanned, but files are scanned
in a thread while the main process is continuing to start. Initial test successful,
needs more testing (and prove that it really works)

CCMAIL: digikam-devel at kde.org

M  +1    -1    digikam/main/digikamapp.cpp

http://commits.kde.org/digikam/23e2f5a51db749bd3710491d4965167881af8bb0

diff --git a/digikam/main/digikamapp.cpp b/digikam/main/digikamapp.cpp
index 0a5e96b..56f140a 100644
--- a/digikam/main/digikamapp.cpp
+++ b/digikam/main/digikamapp.cpp
@@ -207,7 +207,7 @@ DigikamApp::DigikamApp()
     if (d->config->group("General Settings").readEntry("Scan At Start", true) ||
         !CollectionScanner::databaseInitialScanDone())
     {
-        ScanController::instance()->completeCollectionScan(d->splashScreen);
+        ScanController::instance()->completeCollectionScanDeferFiles(d->splashScreen);
     }
 
     if (d->splashScreen)



More information about the Digikam-devel mailing list