From cda38c23f126c569c78d61728e267615c1780935 Mon Sep 17 00:00:00 2001
From: dt <qtc-commiter@nokia.com>
Date: Thu, 8 Jan 2009 16:59:46 +0100
Subject: [PATCH] Fixes:    Do not pop up the Application Output if run in the
 debugger.

Task:     Reported on irc.
Details:  I think this is nicer, while debugging, you probably need
those extra pixels for the other views. We need some flash on the
application button to make it more obvious that something was added to
it.
---
 src/plugins/projectexplorer/projectexplorer.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index eb99816e6c8..385f7452b74 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -1078,7 +1078,8 @@ void ProjectExplorerPlugin::buildQueueFinished(bool success)
 
             RunControl *control = runner->run(m_delayedRunConfiguration, m_runMode);
             m_outputPane->createNewOutputWindow(control);
-            m_outputPane->popup(false);
+            if (m_runMode == ProjectExplorer::Constants::RUNMODE)
+                m_outputPane->popup(false);
             m_outputPane->showTabFor(control);
 
             connect(control, SIGNAL(addToOutputWindow(RunControl *, const QString &)),
-- 
GitLab