summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/debugger/qml/qmlcppengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp
index a678a71ea3..910c652439 100644
--- a/src/plugins/debugger/qml/qmlcppengine.cpp
+++ b/src/plugins/debugger/qml/qmlcppengine.cpp
@@ -467,7 +467,7 @@ void QmlCppEngine::slaveEngineStateChanged
(DebuggerEngine *slaveEngine, const DebuggerState newState)
{
DebuggerEngine *otherEngine = (slaveEngine == m_cppEngine)
- ? m_qmlEngine : m_cppEngine;
+ ? m_qmlEngine.data() : m_cppEngine.data();
QTC_ASSERT(otherEngine, return);
QTC_CHECK(otherEngine != slaveEngine);