diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-08-14 18:03:49 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-08-21 11:52:00 +0000 |
commit | 4fba896d6677c6a28f2fe8801c554ba81caac83d (patch) | |
tree | 2129383a81b3d6121846b9d7ede7b42fbf058e02 /src/plugins/projectexplorer/appoutputpane.h | |
parent | 020c2914c31cb4cbf2580df311d3e4e5dc9804d8 (diff) | |
download | qt-creator-4fba896d6677c6a28f2fe8801c554ba81caac83d.tar.gz |
App output pane: More fine-grained popup options
Let users specify that the app output pane should pop up only on initial
output.
Fixes: QTCREATORBUG-22844
Change-Id: I13d44af8edebac151b81d7b49fb0640e251ea3ab
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.h')
-rw-r--r-- | src/plugins/projectexplorer/appoutputpane.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.h b/src/plugins/projectexplorer/appoutputpane.h index 6d7936042e..bd592ac72d 100644 --- a/src/plugins/projectexplorer/appoutputpane.h +++ b/src/plugins/projectexplorer/appoutputpane.h @@ -62,11 +62,6 @@ public: CloseTabWithPrompt }; - enum BehaviorOnOutput { - Flash, - Popup - }; - AppOutputPane(); ~AppOutputPane() override; @@ -88,7 +83,7 @@ public: void createNewOutputWindow(RunControl *rc); void showTabFor(RunControl *rc); - void setBehaviorOnOutput(RunControl *rc, BehaviorOnOutput mode); + void setBehaviorOnOutput(RunControl *rc, AppOutputPaneMode mode); bool aboutToClose() const; void closeTabs(CloseTabMode mode); @@ -130,7 +125,7 @@ private: Core::OutputWindow *window = nullptr); QPointer<RunControl> runControl; QPointer<Core::OutputWindow> window; - BehaviorOnOutput behaviorOnOutput = Flash; + AppOutputPaneMode behaviorOnOutput = AppOutputPaneMode::FlashOnOutput; }; void closeTab(int index, CloseTabMode cm = CloseTabWithPrompt); |