Mercurial > dedupe
comparison DataController.cpp @ 104:6bc013d5788b
Avoid unnecessary updates.
Fix problems with wrong subset being selected for update with prefix.
Fix some problems with to much verbosity in debug statements.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 15 Feb 2014 13:34:10 +0100 |
| parents | f4ebbfa3ffae |
| children | 95fb1bcf7e24 |
comparison
equal
deleted
inserted
replaced
| 103:6b997f4f7e19 | 104:6bc013d5788b |
|---|---|
| 80 | 80 |
| 81 QDateTime last = QDateTime::currentDateTime(); | 81 QDateTime last = QDateTime::currentDateTime(); |
| 82 | 82 |
| 83 qDebug() << "Start Delete"; | 83 qDebug() << "Start Delete"; |
| 84 dblink.keepOnlyFromPrefix(dir.path(), paths, true); | 84 dblink.keepOnlyFromPrefix(dir.path(), paths, true); |
| 85 dblink.commit(dir.path()); | 85 dblink.commit(dir.path(), false); |
| 86 qDebug() << "End Delete"; | 86 qDebug() << "End Delete"; |
| 87 | 87 |
| 88 std::auto_ptr<QProgressBar> bar; | 88 std::auto_ptr<QProgressBar> bar; |
| 89 | 89 |
| 90 progressMax = paths.size(); | 90 progressMax = paths.size(); |
