VCS: fix VCS pane open

Version Control output pane creates only when project with VCS support
opens. So, registration in outputpanemanager.cpp::g_outputPanes makes
with some delay and after OutputPaneManager::init() call. As a result,
g_outputPanes size and internal m_buttons size is differ and impossible
to enable VCS output pane in GUI.

Task-number: QTCREATORBUG-19971
Change-Id: Ifb8a759fdbf39484c8648dd8ecc0b3f573cf45eb
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alexander Drozdov
2018-03-06 12:44:09 +10:00
committed by Tobias Hunger
parent 84c46f019c
commit cd7f53e4e2

View File

@@ -130,6 +130,9 @@ bool VcsPlugin::initialize(const QStringList &arguments, QString *errorMessage)
return QString();
});
// Just touch VCS Output Pane before initialization
VcsOutputWindow::instance();
return true;
}