diff options
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmaketool.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmaketool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmaketool.cpp b/src/plugins/cmakeprojectmanager/cmaketool.cpp index f4cc060e659..2e66e0c48be 100644 --- a/src/plugins/cmakeprojectmanager/cmaketool.cpp +++ b/src/plugins/cmakeprojectmanager/cmaketool.cpp @@ -275,19 +275,19 @@ TextEditor::Keywords CMakeTool::keywords() if (m_introspection->m_functions.isEmpty() && m_introspection->m_didRun) { QtcProcess proc; runCMake(proc, {"--help-command-list"}, 5); - if (proc.result() == QtcProcess::FinishedWithSuccess) + if (proc.result() == ProcessResult::FinishedWithSuccess) m_introspection->m_functions = proc.stdOut().split('\n'); runCMake(proc, {"--help-commands"}, 5); - if (proc.result() == QtcProcess::FinishedWithSuccess) + if (proc.result() == ProcessResult::FinishedWithSuccess) parseFunctionDetailsOutput(proc.stdOut()); runCMake(proc, {"--help-property-list"}, 5); - if (proc.result() == QtcProcess::FinishedWithSuccess) + if (proc.result() == ProcessResult::FinishedWithSuccess) m_introspection->m_variables = parseVariableOutput(proc.stdOut()); runCMake(proc, {"--help-variable-list"}, 5); - if (proc.result() == QtcProcess::FinishedWithSuccess) { + if (proc.result() == ProcessResult::FinishedWithSuccess) { m_introspection->m_variables.append(parseVariableOutput(proc.stdOut())); m_introspection->m_variables = Utils::filteredUnique(m_introspection->m_variables); Utils::sort(m_introspection->m_variables); @@ -517,7 +517,7 @@ void CMakeTool::fetchFromCapabilities() const QtcProcess cmake; runCMake(cmake, {"-E", "capabilities"}); - if (cmake.result() == QtcProcess::FinishedWithSuccess) { + if (cmake.result() == ProcessResult::FinishedWithSuccess) { m_introspection->m_didRun = true; parseFromCapabilities(cmake.stdOut()); } else { |