diff FileDBLink.cpp @ 93:308a718812ba

Small refactoring to allow lazy commits.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Tue, 22 Oct 2013 11:53:54 +0200
parents f49023c61dac
children c7da835ea912
line wrap: on
line diff
--- a/FileDBLink.cpp	Mon Oct 21 20:03:39 2013 +0200
+++ b/FileDBLink.cpp	Tue Oct 22 11:53:54 2013 +0200
@@ -97,7 +97,7 @@
   QByteArray hash;
   if (!lazy)
       hash = computeHash(path);
-  updateFile(path, size, lastModified, hash);
+  updateFile(path, size, lastModified, hash, lazy);
 }
 
 const QList<FileDBLink::dbinf_ptr_t >