CMake: Simplify CMakeProcess::finished signature

The parameters were never used, and start to look alien in the
presence of QtcProcess::result().

Change-Id: Ie2d6a051b439b5e9161d565b84efb78dbe17487f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
hjk
2021-06-08 13:40:45 +02:00
parent 904b236e58
commit bc2af18a41
4 changed files with 6 additions and 8 deletions

View File

@@ -376,13 +376,10 @@ void FileApiReader::startCMakeState(const QStringList &configurationArguments)
m_cmakeProcess->run(m_parameters, configurationArguments);
}
void FileApiReader::cmakeFinishedState(int code, QProcess::ExitStatus status)
void FileApiReader::cmakeFinishedState()
{
qCDebug(cmakeFileApiMode) << "FileApiReader: CMAKE FINISHED STATE.";
Q_UNUSED(code)
Q_UNUSED(status)
m_lastCMakeExitCode = m_cmakeProcess->lastExitCode();
m_cmakeProcess.release()->deleteLater();