forked from qt-creator/qt-creator
CMakeProcess: Do some cleanup
1. Get rid of unused started() signal. 2. Remove lastExitCode() getter. 3. Add int exitCode arg to finished() signal. 4. Make some string variables const. Change-Id: I3e9774f64a8f34fd2be4436d766285cad1c539a3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -350,11 +350,11 @@ void FileApiReader::startCMakeState(const QStringList &configurationArguments)
|
||||
m_cmakeProcess->run(m_parameters, configurationArguments);
|
||||
}
|
||||
|
||||
void FileApiReader::cmakeFinishedState()
|
||||
void FileApiReader::cmakeFinishedState(int exitCode)
|
||||
{
|
||||
qCDebug(cmakeFileApiMode) << "FileApiReader: CMAKE FINISHED STATE.";
|
||||
|
||||
m_lastCMakeExitCode = m_cmakeProcess->lastExitCode();
|
||||
m_lastCMakeExitCode = exitCode;
|
||||
m_cmakeProcess.release()->deleteLater();
|
||||
|
||||
if (m_lastCMakeExitCode != 0)
|
||||
|
||||
Reference in New Issue
Block a user