From 45683d2242ee842c5b9c918adbd30367d0fe28a1 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 28 Jan 2013 10:37:19 +0100 Subject: [PATCH] Core: Fix use of removed Context constructor overload Change-Id: I7da39d7cad4a562c8dfe882fbd300be1db323380 Reviewed-by: Daniel Teske --- src/plugins/projectexplorer/appoutputpane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index 7c2e94a57ac..1a0b9cdd559 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -326,7 +326,8 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc) } // Create new static uint counter = 0; - Core::Context context(Constants::C_APP_OUTPUT, counter++); + Core::Id contextId = Core::Id(Constants::C_APP_OUTPUT).withSuffix(counter++); + Core::Context context(contextId); Core::OutputWindow *ow = new Core::OutputWindow(context, m_tabWidget); ow->setWindowTitle(tr("Application Output Window")); ow->setWindowIcon(QIcon(QLatin1String(Constants::ICON_WINDOW)));