| 233 | } |
| 234 | |
| 235 | void Plugin::result(KJob* job) |
| 236 | { |
| 237 | Job* aj = dynamic_cast<Job*>(job); |
| 238 | if (!aj) { |
| 239 | return; |
| 240 | } |
| 241 | |
| 242 | if (aj->status() == KDevelop::OutputExecuteJob::JobStatus::JobSucceeded) { |
| 243 | m_model->setProblems(aj->problems()); |
| 244 | |
| 245 | core()->uiController()->findToolView(i18nd("kdevproblemreporter", "Problems"), 0, |
| 246 | KDevelop::IUiController::FindFlags::Raise); |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | KDevelop::ContextMenuExtension Plugin::contextMenuExtension(KDevelop::Context* context) |
| 251 | { |
nothing calls this directly
no test coverage detected