forked from qt-creator/qt-creator
Fixes: coreplugin: remove 'fat' BaseView constructor
Details: failed trial before the committee on un-qtish behaviour
This commit is contained in:
@@ -309,8 +309,10 @@ bool MainWindow::init(QString *errorMessage)
|
||||
|
||||
// Add widget to the bottom, we create the view here instead of inside the
|
||||
// OutputPaneManager, since the ViewManager needs to be initilized before
|
||||
m_outputView = new Core::BaseView("OutputWindow.Buttons",
|
||||
OutputPaneManager::instance()->buttonsWidget(), QList<int>(), Core::IView::Second);
|
||||
m_outputView = new Core::BaseView;
|
||||
m_outputView->setUniqueViewName("OutputWindow.Buttons");
|
||||
m_outputView->setWidget(OutputPaneManager::instance()->buttonsWidget());
|
||||
m_outputView->setDefaultPosition(Core::IView::Second);
|
||||
pm->addObject(m_outputView);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user