From 33990a7379d5ea93fb1b3fa72b47c51e4f7f5ef8 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 12 Aug 2017 19:28:23 +0200 Subject: 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. --- consistencycheck.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'consistencycheck.h') 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 strayFileIds(); const QList strayPicIds(); - void clearStrayIds(); public slots: void setCancel(bool cancel); -- cgit v1.2.3-70-g09d2