ClangCodeModel, Puppet, CrashHandler: Compile with Qt6

Task-number: QTCREATORBUG-24098
Change-Id: Ic65e7a5dce0a512f48fb70915b9443ef7df2b787
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2020-10-08 12:55:35 +02:00
parent 3ee70780b4
commit 41a51a63f5
5 changed files with 7 additions and 5 deletions

View File

@@ -469,7 +469,7 @@ bool CompleteCommand::run()
auto *processor = ClangEditorDocumentProcessor::get(documentFilePath);
QTC_ASSERT(processor, return false);
return completionResults(editor, QStringList(), timeOutInMs());
return !completionResults(editor, QStringList(), timeOutInMs()).isNull();
}
Command::Ptr CompleteCommand::parse(BatchFileLineTokenizer &arguments,