forked from qt-creator/qt-creator
VcsBasePlugin: Remove last instance of addAutoReleasedObject
Change-Id: I6a622faed0bce39f21c5489afc0df623cb32f801 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user