MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / cancelRunningRequest

Method cancelRunningRequest

QodeAssistClient.cpp:472–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472void QodeAssistClient::cancelRunningRequest(TextEditor::TextEditorWidget *editor)
473{
474 const auto it = m_runningRequests.constFind(editor);
475 if (it == m_runningRequests.constEnd())
476 return;
477 m_progressHandler.hideProgress();
478 cancelRequest(it->id());
479 m_runningRequests.erase(it);
480}
481
482bool QodeAssistClient::isEnabled(ProjectExplorer::Project *project) const
483{

Callers

nothing calls this directly

Calls 2

hideProgressMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected