forked from qt-creator/qt-creator
Core::ModeManager: make some functions static
Change-Id: I5c1275ba3f596d8911fd2e4404181bf57b58f494 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -450,7 +450,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
|
||||
ModeManager::instance()->activateMode(QLatin1String(Constants::MODE_EDIT));
|
||||
ModeManager::activateMode(QLatin1String(Constants::MODE_EDIT));
|
||||
}
|
||||
if (OutputPanePlaceHolder::getCurrent()) {
|
||||
// make the page visible
|
||||
|
||||
Reference in New Issue
Block a user