From c2e20eafd7381d5a4613f157d1395236eff31c32 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 17 Jan 2024 20:53:20 +0100 Subject: [PATCH] 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: Reviewed-by: Christian Stenger --- src/plugins/gitlab/gitlabclonedialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/gitlab/gitlabclonedialog.cpp b/src/plugins/gitlab/gitlabclonedialog.cpp index 0ad5b4bef91..0f845294f5a 100644 --- a/src/plugins/gitlab/gitlabclonedialog.cpp +++ b/src/plugins/gitlab/gitlabclonedialog.cpp @@ -189,7 +189,6 @@ static FilePaths scanDirectoryForFiles(const FilePath &directory) void GitLabCloneDialog::cloneFinished(bool success) { m_commandRunning = false; - delete m_command; m_command = nullptr; const QString emptyLine("\n\n");