From 68878208d88948e5ea2bb579c1269d64aadb58cf Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Tue, 21 Feb 2012 10:13:52 +0100
Subject: [PATCH] Debugger: Fix 'attach to QML port'

Actually use the QML debugger instead of the CPP one.
This broke in commit fe8cead2d004e5a571.

Change-Id: Ifd4b98a74ee03d3cffab4547564708e3b83b2bd3
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
---
 src/plugins/debugger/debuggerplugin.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index b6a0cf6e75c..55edc08ca90 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -1771,6 +1771,7 @@ void DebuggerPluginPrivate::attachToQmlPort()
     sp.sysroot = dlg.sysroot();
 
     sp.startMode = AttachToRemoteServer;
+    sp.languages = QmlLanguage;
 
     //
     // get files from all the projects in the session
-- 
GitLab