diff options
author | Eike Ziller <eike.ziller@qt.io> | 2023-09-14 09:40:56 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2023-09-18 10:14:51 +0000 |
commit | b0043ed1acb5af88b570ef67d5ecb39bd2050e84 (patch) | |
tree | f565f7331c83ff465112880550072cf4f47d30ef /src/plugins/projectexplorer/appoutputpane.cpp | |
parent | 053c6253b84db1df5380bfecf6f7e632b0abd5ed (diff) |
OutputPane: Use setter for priority and fix default visibility
Do not show the buttons of output views with priority < 0 (instead of
only == -1). Reduce the number of buttons that are shown by default to
the essential ones.
Change-Id: I5b44f18537b3033ce9d616f044a8b54b76988783
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.cpp')
-rw-r--r-- | src/plugins/projectexplorer/appoutputpane.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index ad4eb326ed..13f3d2e5d3 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -154,6 +154,8 @@ AppOutputPane::AppOutputPane() : { setId("ApplicationOutput"); setDisplayName(Tr::tr("Application Output")); + setPriorityInStatusBar(60); + ExtensionSystem::PluginManager::addObject(m_handler); setObjectName("AppOutputPane"); // Used in valgrind engine @@ -307,11 +309,6 @@ QList<QWidget *> AppOutputPane::toolBarWidgets() const m_formatterWidget} + IOutputPane::toolBarWidgets(); } -int AppOutputPane::priorityInStatusBar() const -{ - return 60; -} - void AppOutputPane::clearContents() { auto *currentWindow = qobject_cast<Core::OutputWindow *>(m_tabWidget->currentWidget()); |