From 2a2bde05105804b7d424588362bd4b8e7c6f2d15 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Tue, 2 Aug 2011 18:25:20 +0200
Subject: [PATCH] debugger: better name for remote targets in snapshot view

Task-number: QTCREATORBUG-5511
Change-Id: Icb5f239ff4be61110b894919aecc57355bb04860
Reviewed-on: http://codereview.qt.nokia.com/2526
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/debugger/debuggerplugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 3271e30aacb..e80d8885dde 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -1604,7 +1604,7 @@ void DebuggerPluginPrivate::startRemoteApplication()
     sp.remoteArchitecture = dlg.remoteArchitecture();
     sp.gnuTarget = dlg.gnuTarget();
     sp.executable = dlg.localExecutable();
-    sp.displayName = dlg.localExecutable();
+    sp.displayName = tr("Remote: \"%1\"").arg(sp.remoteChannel);
     sp.debuggerCommand = dlg.debugger(); // Override toolchain-detection.
     if (!sp.debuggerCommand.isEmpty())
         sp.toolChainAbi = ProjectExplorer::Abi();
-- 
GitLab