CMake: Fix typo

Change-Id: I825ea33d2ee965bffb7611e51ac88bd79e4cc491
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Yuchen Deng
2013-02-16 22:33:36 +08:00
parent 04e267b482
commit 2cfd14f63e

View File

@@ -101,13 +101,13 @@ void CMakeValidator::finished(int exitCode)
} else {
m_state = CMakeValidator::RunningFunctionList;
if (!startProcess(QStringList(QLatin1String("--help-command-list"))))
finished(0); // shoud never happen, just continue
finished(0); // should never happen, just continue
}
} else if (m_state == CMakeValidator::RunningFunctionList) {
parseFunctionOutput(m_process->readAll());
m_state = CMakeValidator::RunningFunctionDetails;
if (!startProcess(QStringList(QLatin1String("--help-commands"))))
finished(0); // shoud never happen, just continue
finished(0); // should never happen, just continue
} else if (m_state == CMakeValidator::RunningFunctionDetails) {
parseFunctionDetailsOutput(m_process->readAll());
m_state = CMakeValidator::ValidFunctionDetails;