forked from qt-creator/qt-creator
Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -315,7 +315,7 @@ void ModeManager::currentTabChanged(int index)
|
||||
// FIXME: This hardcoded context update is required for the Debug and Edit modes, since
|
||||
// they use the editor widget, which is already a context widget so the main window won't
|
||||
// go further up the parent tree to find the mode context.
|
||||
ICore::instance()->updateAdditionalContexts(d->m_addedContexts, mode->context());
|
||||
ICore::updateAdditionalContexts(d->m_addedContexts, mode->context());
|
||||
d->m_addedContexts = mode->context();
|
||||
|
||||
IMode *oldMode = 0;
|
||||
|
||||
Reference in New Issue
Block a user