diff options
author | hjk <hjk@qt.io> | 2017-07-05 14:25:42 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-07-05 14:17:13 +0000 |
commit | d857fa52f7cc4b880c1dc890ed229074dfe4da1c (patch) | |
tree | 70127ca85488f5f1d131861e5c284b5b82887745 /src/plugins/projectexplorer/appoutputpane.h | |
parent | 11333a03cdb3c8437ead447d1dd1555a7bdec9b7 (diff) | |
download | qt-creator-d857fa52f7cc4b880c1dc890ed229074dfe4da1c.tar.gz |
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 <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.h')
-rw-r--r-- | src/plugins/projectexplorer/appoutputpane.h | 4 |
1 files changed, 2 insertions, 2 deletions
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: |