summaryrefslogtreecommitdiffstats
path: root/smdirwatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'smdirwatcher.h')
-rw-r--r--smdirwatcher.h2
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;