aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-07-28 10:21:06 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-07-28 15:09:43 +0000
commit91deafdcc8e4b743e2d27a1793a2b1b2ba506cd7 (patch)
treefb1409be1deec84adb6dee9ac66e4b616e9530b6 /src/qml/qml/qqmlengine_p.h
parenta7c7b26653c76e6c699a7f4e81f7ffec60dde0be (diff)
Remove some unused members on -no-qml-debug
It's debatable if the uglification is worth the overhead of a few pointers. Change-Id: I63b55b2043b8752a94d4b862c3892915135a72b7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlengine_p.h')
-rw-r--r--src/qml/qml/qqmlengine_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine_p.h b/src/qml/qml/qqmlengine_p.h
index 4269392743..949060f395 100644
--- a/src/qml/qml/qqmlengine_p.h
+++ b/src/qml/qml/qqmlengine_p.h
@@ -134,7 +134,12 @@ public:
QRecyclePool<QQmlJavaScriptExpressionGuard> jsExpressionGuardPool;
QQmlContext *rootContext;
+
+#ifdef QT_NO_QML_DEBUGGER
+ static const quintptr profiler = 0;
+#else
QQmlProfiler *profiler;
+#endif
bool outputWarningsToMsgLog;