diff options
author | sh kim <sukhyun.kim@nokia.com> | 2012-03-22 11:19:43 +0900 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-03 01:22:29 +0200 |
commit | 9b789fd4e516577fa5dbffdf5dbfb4d7f99e985b (patch) | |
tree | 1561ff7a25b256af6cfd103101aa30245e26fc0c /src/imports/folderlistmodel/fileinfothread_p.h | |
parent | a54d51ee89aaf6ffc9f9b8e4f131829b0969f35f (diff) |
Fix build error when QT_NO_FILESYSTEMWATCHER is set
Change-Id: I41cd921f6f779b8103e8dbef9c1f8e8e661fb4ad
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
Diffstat (limited to 'src/imports/folderlistmodel/fileinfothread_p.h')
-rw-r--r-- | src/imports/folderlistmodel/fileinfothread_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/folderlistmodel/fileinfothread_p.h b/src/imports/folderlistmodel/fileinfothread_p.h index a5be6e6fcc..d144f520d0 100644 --- a/src/imports/folderlistmodel/fileinfothread_p.h +++ b/src/imports/folderlistmodel/fileinfothread_p.h @@ -76,8 +76,10 @@ public: void setShowOnlyReadable(bool on); public Q_SLOTS: +#ifndef QT_NO_FILESYSTEMWATCHER void dirChanged(const QString &directoryPath); void updateFile(const QString &path); +#endif protected: void run(); @@ -89,7 +91,9 @@ private: QWaitCondition condition; volatile bool abort; +#ifndef QT_NO_FILESYSTEMWATCHER QFileSystemWatcher *watcher; +#endif QList<FileProperty> currentFileList; QDir::SortFlags sortFlags; QString currentPath; |