summaryrefslogtreecommitdiffstats
path: root/consistencycheck.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-08-12 19:28:23 +0200
committerArno <arno@disconnect.de>2017-08-12 19:28:23 +0200
commit33990a7379d5ea93fb1b3fa72b47c51e4f7f5ef8 (patch)
tree038d5c9cd843d426723d9b6059b87187196a09cb /consistencycheck.h
parent4ebd741d2bd6061dd4812adf0a89bd0cdb81023d (diff)
downloadSheMov-33990a7379d5ea93fb1b3fa72b47c51e4f7f5ef8.tar.gz
SheMov-33990a7379d5ea93fb1b3fa72b47c51e4f7f5ef8.tar.bz2
SheMov-33990a7379d5ea93fb1b3fa72b47c51e4f7f5ef8.zip
Fix consistency check
Actually, removing stray pictures never worked, because the call to that function was commented out. Also, remove the clear functions stray files and stray ids and lock the mutex in place. They were only called once, so we can do it inside the function. And don't forget to clear the picture Ids. Finally, fix the logic for activating the cleanup button.
Diffstat (limited to 'consistencycheck.h')
-rw-r--r--consistencycheck.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/consistencycheck.h b/consistencycheck.h
index 6f54dcb..7f445eb 100644
--- a/consistencycheck.h
+++ b/consistencycheck.h
@@ -70,10 +70,8 @@ class ConsistencyChecker : public QThread {
void setStatus(int status) { mStatus = status; }
void check();
const QStringList strayFiles();
- void clearStrayFiles();
const QList<int> strayFileIds();
const QList<int> strayPicIds();
- void clearStrayIds();
public slots:
void setCancel(bool cancel);