From a8ab1fd70ff4fa2822714e3ba4f4badba1808d02 Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Mon, 20 Feb 2012 12:54:40 +0100
Subject: [PATCH] RemoteLinux: Fix QML-only debugging

Make sure requestRemoteSetup is also set if we're not using
the C++ debugger.

Change-Id: I08e151be6c69ce8d0ab8a86414a150f883f09ff1
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
---
 src/plugins/remotelinux/remotelinuxdebugsupport.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
index 73b7cef7543..84e3f564c42 100644
--- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
+++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp
@@ -111,7 +111,6 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R
         params.executable = runConfig->localExecutableFilePath();
         params.debuggerCommand = runConfig->gdbCmd();
         params.remoteChannel = devConf->sshParameters().host + QLatin1String(":-1");
-        params.requestRemoteSetup = true;
 
         // TODO: This functionality should be inside the debugger.
         const ProjectExplorer::Abi &abi = runConfig->target()
@@ -122,6 +121,7 @@ DebuggerStartParameters AbstractRemoteLinuxDebugSupport::startParameters(const R
     } else {
         params.startMode = AttachToRemoteServer;
     }
+    params.requestRemoteSetup = true;
     params.displayName = runConfig->displayName();
 
     if (const ProjectExplorer::Project *project = runConfig->target()->project()) {
-- 
GitLab