Debugger: Fix 'Attach to Qml port'

Never use the combined QmlCppEngine if the primary engine is already
the QmlEngine.

Change-Id: Ic87816bbe67fdf4ab004a41db601e33383c570dc
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Kai Koehne
2012-01-25 10:38:13 +01:00
committed by hjk
parent 21c0cdee40
commit 8c10d607c0

View File

@@ -644,7 +644,8 @@ DEBUGGER_EXPORT ConfigurationCheck checkDebugConfiguration(const DebuggerStartPa
// Anything left: Happy.
result.errorMessage.clear();
result.errorDetails.clear();
if (qmlLanguage && cppLanguage) {
if (qmlLanguage && cppLanguage
&& usableType != QmlEngineType) {
result.masterSlaveEngineTypes.first = QmlCppEngineType;
result.masterSlaveEngineTypes.second = usableType;
} else {