forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user