VcsBasePlugin: Remove last instance of addAutoReleasedObject

Change-Id: I6a622faed0bce39f21c5489afc0df623cb32f801
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-02-19 14:15:05 +01:00
parent 432ae65944
commit 492a17b65b
4 changed files with 34 additions and 24 deletions

View File

@@ -476,6 +476,12 @@ void VcsOutputWindow::appendMessage(const QString &text)
append(text, Message, true);
}
void VcsOutputWindow::destroy()
{
delete m_instance;
m_instance = nullptr;
}
VcsOutputWindow *VcsOutputWindow::instance()
{
if (!m_instance)