From 42900818318fd495a16a9eb835331af7fd4e5e8e Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 17 Mar 2017 15:33:07 +0200 Subject: 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 --- src/plugins/projectexplorer/appoutputpane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/projectexplorer/appoutputpane.cpp') 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 &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")); -- cgit v1.2.1