Debugger: Fix compile after 36ec37b29d

Change-Id: Ibd252961a5646ef3a9eec91db62c1b2fa74a47af
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2017-05-19 13:58:17 +02:00
committed by hjk
parent a7ad7f1766
commit ce7166bb01

View File

@@ -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);