diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-07-28 10:21:06 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-07-28 15:09:43 +0000 |
commit | 91deafdcc8e4b743e2d27a1793a2b1b2ba506cd7 (patch) | |
tree | fb1409be1deec84adb6dee9ac66e4b616e9530b6 /src/qml/qml/qqmlobjectcreator.cpp | |
parent | a7c7b26653c76e6c699a7f4e81f7ffec60dde0be (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/qqmlobjectcreator.cpp')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator.cpp b/src/qml/qml/qqmlobjectcreator.cpp index 4e98e04ce4..a38d18acfb 100644 --- a/src/qml/qml/qqmlobjectcreator.cpp +++ b/src/qml/qml/qqmlobjectcreator.cpp @@ -89,7 +89,7 @@ QQmlObjectCreator::QQmlObjectCreator(QQmlContextData *parentContext, QV4::Compil sharedState->creationContext = creationContext; sharedState->rootContext = 0; - if (QQmlProfiler *profiler = QQmlEnginePrivate::get(engine)->profiler) { + if (auto profiler = QQmlEnginePrivate::get(engine)->profiler) { Q_QML_PROFILE_IF_ENABLED(QQmlProfilerDefinitions::ProfileCreating, profiler, sharedState->profiler.init(profiler, compilationUnit->totalParserStatusCount)); } else { |