diff options
author | Arno <am@disconnect.de> | 2013-08-28 11:10:58 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-08-28 11:10:58 +0200 |
commit | 2cc92200386c55818cbe9bcb7d2e488170317d70 (patch) | |
tree | abead086c71b8821bf4f8d5a7f076875d7ba24fb /smdirwatcher.h | |
parent | 00084a82f08ea72bafc6c002422c8f49bdeb1742 (diff) | |
download | SheMov-2cc92200386c55818cbe9bcb7d2e488170317d70.tar.gz SheMov-2cc92200386c55818cbe9bcb7d2e488170317d70.tar.bz2 SheMov-2cc92200386c55818cbe9bcb7d2e488170317d70.zip |
Don't show progress dialog when we're polling
Diffstat (limited to 'smdirwatcher.h')
-rw-r--r-- | smdirwatcher.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<QVariant>,int); @@ -80,6 +81,7 @@ class SmDataColletor : public QThread { const int mNumFields; bool mCheckForPresent; bool mCancel; + bool mShowProgress; QMutex mCheckForPresentMx; QSqlQuery *mPicPresentQ; QSqlQuery *mMovPresentQ; |