Fix build error when QT_NO_FILESYSTEMWATCHER is set
QPollingFileSystemWatcherEngine inherits from QFileSystemWatcherEngine. This class should be covered by !QT_NO_FILESYSTEMWATCHER. Change-Id: I053a873018cf3c9c443435c9b3f44240b0965c24 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
parent
255079124a
commit
ba061da5f0
@ -42,6 +42,8 @@
|
||||
#include "qfilesystemwatcher_polling_p.h"
|
||||
#include <QtCore/qtimer.h>
|
||||
|
||||
#ifndef QT_NO_FILESYSTEMWATCHER
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QPollingFileSystemWatcherEngine::QPollingFileSystemWatcherEngine(QObject *parent)
|
||||
@ -149,3 +151,4 @@ void QPollingFileSystemWatcherEngine::timeout()
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
#endif // !QT_NO_FILESYSTEMWATCHER
|
||||
|
@ -62,6 +62,7 @@
|
||||
|
||||
#include "qfilesystemwatcher_p.h"
|
||||
|
||||
#ifndef QT_NO_FILESYSTEMWATCHER
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
enum { PollingInterval = 1000 };
|
||||
@ -122,6 +123,6 @@ private:
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // !QT_NO_FILESYSTEMWATCHER
|
||||
#endif // QFILESYSTEMWATCHER_POLLING_P_H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user