Utils: fix QtcProcess timeout error message

Change-Id: Iccfe7cfe61937872589a708f79dec69afefb9be4
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2021-06-08 08:22:52 +02:00
parent 1ce7adce47
commit bf79f1ae38

View File

@@ -780,7 +780,7 @@ QString QtcProcess::exitMessage()
return QtcProcess::tr("The command \"%1\" could not be started.").arg(fullCmd); return QtcProcess::tr("The command \"%1\" could not be started.").arg(fullCmd);
case Hang: case Hang:
return QtcProcess::tr("The command \"%1\" did not respond within the timeout limit (%2 s).") return QtcProcess::tr("The command \"%1\" did not respond within the timeout limit (%2 s).")
.arg(fullCmd).arg(d->m_hangTimerCount); .arg(fullCmd).arg(d->m_maxHangTimerCount);
} }
return QString(); return QString();
} }