From 2cc92200386c55818cbe9bcb7d2e488170317d70 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 28 Aug 2013 11:10:58 +0200 Subject: Don't show progress dialog when we're polling --- smdirwatcher.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'smdirwatcher.h') diff --git a/smdirwatcher.h b/smdirwatcher.h index fccc1ed..9afd62b 100644 --- a/smdirwatcher.h +++ b/smdirwatcher.h @@ -60,6 +60,7 @@ class SmDataColletor : public QThread { void setCheckForPresent(bool present); void run(); void stop() { mCancel = true; } + void setShowProgress(bool progress) { mShowProgress = progress; } signals: void newData(const QList,int); @@ -80,6 +81,7 @@ class SmDataColletor : public QThread { const int mNumFields; bool mCheckForPresent; bool mCancel; + bool mShowProgress; QMutex mCheckForPresentMx; QSqlQuery *mPicPresentQ; QSqlQuery *mMovPresentQ; -- cgit v1.2.3-70-g09d2