forked from qt-creator/qt-creator
GitLabCloneDialog: Don't delete the VcsCommand when done
This is done internally by the VcsCommand, after the singal is sent. Change-Id: I3e6c9b6c465fc48f6cd9dcd3953c22d45757008e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -189,7 +189,6 @@ static FilePaths scanDirectoryForFiles(const FilePath &directory)
|
|||||||
void GitLabCloneDialog::cloneFinished(bool success)
|
void GitLabCloneDialog::cloneFinished(bool success)
|
||||||
{
|
{
|
||||||
m_commandRunning = false;
|
m_commandRunning = false;
|
||||||
delete m_command;
|
|
||||||
m_command = nullptr;
|
m_command = nullptr;
|
||||||
|
|
||||||
const QString emptyLine("\n\n");
|
const QString emptyLine("\n\n");
|
||||||
|
Reference in New Issue
Block a user