Core: Fix use of removed Context constructor overload

Change-Id: I7da39d7cad4a562c8dfe882fbd300be1db323380
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
hjk
2013-01-28 10:37:19 +01:00
parent 39bc4243fa
commit 45683d2242

View File

@@ -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)));