OSDN Git Service

debugger: fix display name when using "start and debug external app"
authorhjk <qtc-committer@nokia.com>
Fri, 8 Apr 2011 08:47:26 +0000 (10:47 +0200)
committerhjk <qtc-committer@nokia.com>
Fri, 8 Apr 2011 08:48:16 +0000 (10:48 +0200)
Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
src/plugins/debugger/debuggerplugin.cpp

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