summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/appoutputpane.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2017-03-17 15:33:07 +0200
committerOrgad Shaneh <orgads@gmail.com>2017-03-20 10:11:09 +0000
commit42900818318fd495a16a9eb835331af7fd4e5e8e (patch)
tree3d5b0a6a45ae29871d87441353c6caeae128db3c /src/plugins/projectexplorer/appoutputpane.cpp
parentc82c742d8dfc295603fb9bc4f292fddba84375a0 (diff)
downloadqt-creator-42900818318fd495a16a9eb835331af7fd4e5e8e.tar.gz
ProjectExplorer: Move consts that are used in a single file out of header
+ inline where used only once. Change-Id: I08c60551afde1d36a2c8d5005c1ea7e52ba0515b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.cpp')
-rw-r--r--src/plugins/projectexplorer/appoutputpane.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp
index 554c181a48..4be4b6697d 100644
--- a/src/plugins/projectexplorer/appoutputpane.cpp
+++ b/src/plugins/projectexplorer/appoutputpane.cpp
@@ -85,6 +85,7 @@ static void replaceAllChildWidgets(QLayout *layout, const QList<QWidget *> &newC
namespace {
const char SETTINGS_KEY[] = "ProjectExplorer/AppOutput/Zoom";
+const char C_APP_OUTPUT[] = "ProjectExplorer.ApplicationOutput";
}
namespace ProjectExplorer {
@@ -425,7 +426,7 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc)
}
// Create new
static int counter = 0;
- Core::Id contextId = Core::Id(Constants::C_APP_OUTPUT).withSuffix(counter++);
+ Core::Id contextId = Core::Id(C_APP_OUTPUT).withSuffix(counter++);
Core::Context context(contextId);
Core::OutputWindow *ow = new Core::OutputWindow(context, m_tabWidget);
ow->setWindowTitle(tr("Application Output Window"));