aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmlprofilerservice_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/debugger/qqmlprofilerservice_p.h')
-rw-r--r--src/qml/debugger/qqmlprofilerservice_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/debugger/qqmlprofilerservice_p.h b/src/qml/debugger/qqmlprofilerservice_p.h
index 208fde5a75..eeaf871ab4 100644
--- a/src/qml/debugger/qqmlprofilerservice_p.h
+++ b/src/qml/debugger/qqmlprofilerservice_p.h
@@ -61,6 +61,7 @@
#include <QtCore/qmutex.h>
#include <QtCore/qvector.h>
#include <QtCore/qstringbuilder.h>
+#include <QtCore/qwaitcondition.h>
QT_BEGIN_HEADER
@@ -164,9 +165,10 @@ private:
private:
QElapsedTimer m_timer;
bool m_enabled;
- bool m_messageReceived;
QVector<QQmlProfilerData> m_data;
- QMutex m_mutex;
+ QMutex m_dataMutex;
+ QMutex m_initializeMutex;
+ QWaitCondition m_initializeCondition;
static QQmlProfilerService *instance;