| 470 | } |
| 471 | |
| 472 | void 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 | |
| 482 | bool QodeAssistClient::isEnabled(ProjectExplorer::Project *project) const |
| 483 | { |
nothing calls this directly
no test coverage detected