debugger: fix display name when using "start and debug external app"

Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
This commit is contained in:
hjk
2011-04-08 10:47:26 +02:00
parent 1b106a9bff
commit 26b28804a7

View File

@@ -1365,6 +1365,7 @@ void DebuggerPluginPrivate::startExternalApplication()
sp.toolChainAbi = dlg.abi(); sp.toolChainAbi = dlg.abi();
sp.debuggerCommand = dlg.debuggerCommand(); sp.debuggerCommand = dlg.debuggerCommand();
sp.workingDirectory = dlg.workingDirectory(); sp.workingDirectory = dlg.workingDirectory();
sp.displayName = sp.executable;
if (!dlg.executableArguments().isEmpty()) if (!dlg.executableArguments().isEmpty())
sp.processArgs = dlg.executableArguments(); sp.processArgs = dlg.executableArguments();
// Fixme: 1 of 3 testing hacks. // Fixme: 1 of 3 testing hacks.