diff SqliteDBLink.cpp @ 85:1f9e27a0bd7f

Allow for lazy calculation of checksums, ignore them, if only one file of given size.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Thu, 10 Oct 2013 15:55:30 +0200
parents 69a30d9f126e
children af7962f3274b
line wrap: on
line diff
--- a/SqliteDBLink.cpp	Thu Oct 10 14:14:20 2013 +0200
+++ b/SqliteDBLink.cpp	Thu Oct 10 15:55:30 2013 +0200
@@ -197,3 +197,11 @@
     deleteFileFromDB(path);
   }
 }
+
+const QList<FileDBLink::dbinf_ptr_t> 
+SqliteDBLink::filesWithSize(qint64 size, const QString& prefix) const
+{
+  //This is incredibly inefficient and should be reimplemented
+  return FileDBLink::filesWithSize(size, prefix);
+}
+