QtcProcess: Connect to done() signal instead of finished()

Change-Id: Ie9005e2dc225907e46bb46086a663763b58c5152
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-06-22 14:43:54 +02:00
parent 37a820f67a
commit e49e0f87cd

View File

@@ -1034,7 +1034,7 @@ QtcProcess::QtcProcess(QObject *parent)
Q_UNUSED(qProcessProcessErrorMeta)
if (processLog().isDebugEnabled()) {
connect(this, &QtcProcess::finished, [this] {
connect(this, &QtcProcess::done, [this] {
if (!d->m_process.get())
return;
const QVariant n = d->m_process.get()->property(QTC_PROCESS_NUMBER);