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:
Jarek Kobus
2024-01-17 20:53:20 +01:00
parent 5c726df5b8
commit c2e20eafd7

View File

@@ -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");