forked from qt-creator/qt-creator
core: remove usages of Core::ICore::instance()->modeManager()
The function is still there but should be remove in my opinion. Change-Id: I739fe942e74f459faccb80b5bcb8a5721c6bb9bf Reviewed-on: http://codereview.qt.nokia.com/4200 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -444,7 +444,7 @@ void OutputPaneManager::showPage(int idx, bool focus)
|
||||
if (!OutputPanePlaceHolder::getCurrent()) {
|
||||
// In this mode we don't have a placeholder
|
||||
// switch to the output mode and switch the page
|
||||
ICore::instance()->modeManager()->activateMode(Constants::MODE_EDIT);
|
||||
ModeManager::instance()->activateMode(Constants::MODE_EDIT);
|
||||
}
|
||||
if (OutputPanePlaceHolder::getCurrent()) {
|
||||
// make the page visible
|
||||
|
||||
Reference in New Issue
Block a user