diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index f12eb5915b1..1e4ed5346ea 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -2598,7 +2598,7 @@ bool GitClient::tryLauchingGitK(const Environment &env, process->start(); success = process->waitForStarted(); if (success) - connect(process, &QtcProcess::finished, process, &QProcess::deleteLater); + connect(process, &QtcProcess::finished, process, &QObject::deleteLater); else delete process; } else {