forked from qt-creator/qt-creator
OutputPaneManager: Use a structure for related pieces
One vector with things handled together can be better that keeping four vectors in sync. Change-Id: I47865a5a2147a3795a3c820aa2676fb9611cab25 Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -122,7 +122,6 @@ MainWindow::MainWindow() :
|
||||
m_toggleRightSideBarButton(new QToolButton)
|
||||
{
|
||||
(void) new DocumentManager(this);
|
||||
OutputPaneManager::create();
|
||||
|
||||
HistoryCompleter::setSettings(PluginManager::settings());
|
||||
|
||||
@@ -300,7 +299,7 @@ void MainWindow::extensionsInitialized()
|
||||
MimeTypeSettings::restoreSettings();
|
||||
m_windowSupport = new WindowSupport(this, Context("Core.MainWindow"));
|
||||
m_windowSupport->setCloseActionEnabled(false);
|
||||
OutputPaneManager::instance()->init();
|
||||
OutputPaneManager::create();
|
||||
m_vcsManager->extensionsInitialized();
|
||||
m_leftNavigationWidget->setFactories(INavigationWidgetFactory::allNavigationFactories());
|
||||
m_rightNavigationWidget->setFactories(INavigationWidgetFactory::allNavigationFactories());
|
||||
|
||||
Reference in New Issue
Block a user