From d857fa52f7cc4b880c1dc890ed229074dfe4da1c Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 5 Jul 2017 14:25:42 +0200 Subject: ProjectExplorer: Fix recent indeterministic state of stop button The recent RunControl related changes have led to several regressions in the fragile handling of button states in the output pane. Take advantage of the new Starting phase to fix disabling of the run and enabling of the stop button at reasonable times. Change-Id: Iae191a840484dd08d61facf6b9f439bfafcbbcb0 Task-number: QTCREATORBUG-18508 Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/appoutputpane.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/projectexplorer/appoutputpane.h') diff --git a/src/plugins/projectexplorer/appoutputpane.h b/src/plugins/projectexplorer/appoutputpane.h index 96303baebb..ba3839ca6a 100644 --- a/src/plugins/projectexplorer/appoutputpane.h +++ b/src/plugins/projectexplorer/appoutputpane.h @@ -107,7 +107,7 @@ private: void attachToRunControl(); void tabChanged(int); void contextMenuRequested(const QPoint &pos, int index); - void slotRunControlStarted(); + void slotRunControlChanged(); void slotRunControlFinished(); void slotRunControlFinished2(ProjectExplorer::RunControl *sender); @@ -118,7 +118,7 @@ private: void zoomIn(); void zoomOut(); - void enableButtons(const RunControl *rc, bool isRunning); + void enableButtons(const RunControl *rc); class RunControlTab { public: -- cgit v1.2.1