aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlincubator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlincubator.h')
-rw-r--r--src/qml/qml/qqmlincubator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlincubator.h b/src/qml/qml/qqmlincubator.h
index 5d8ae7d6c3..2fb2aaf2f1 100644
--- a/src/qml/qml/qqmlincubator.h
+++ b/src/qml/qml/qqmlincubator.h
@@ -42,6 +42,7 @@
#ifndef QQMLINCUBATOR_H
#define QQMLINCUBATOR_H
+#include <QtQml/qtqmlglobal.h>
#include <QtQml/qqmlerror.h>
QT_BEGIN_HEADER
@@ -110,7 +111,7 @@ public:
int incubatingObjectCount() const;
void incubateFor(int msecs);
- void incubateWhile(bool *flag);
+ void incubateWhile(volatile bool *flag, int msecs=0);
protected:
virtual void incubatingObjectCountChanged(int);