OSDN Git Service

Local Application Run Control: emit finished() for non existent programs
authordt <qtc-committer@nokia.com>
Mon, 28 Mar 2011 15:08:24 +0000 (17:08 +0200)
committerdt <qtc-committer@nokia.com>
Mon, 28 Mar 2011 15:08:36 +0000 (17:08 +0200)
Ensures the corect state is reflected for the run actions.

Reviewed-By: hunger
src/plugins/projectexplorer/winguiprocess.cpp

index 94ce649..f216bea 100644 (file)
@@ -134,6 +134,7 @@ void WinGuiProcess::run()
         if (!started) {
             emit processMessage(tr("The process could not be started: %1").
                                 arg(Utils::winErrorMessage(GetLastError())), true);
+            emit processFinished(0);
             break;
         }