| 615 | } |
| 616 | |
| 617 | void PatchReviewPlugin::executeFileReviewAction() |
| 618 | { |
| 619 | auto* reviewAction = qobject_cast<QAction*>(sender()); |
| 620 | KDevelop::Path path(reviewAction->data().toUrl()); |
| 621 | auto* ps = new LocalPatchSource(); |
| 622 | ps->setFilename(path.toUrl()); |
| 623 | ps->setBaseDir(path.parent().toUrl()); |
| 624 | ps->setAlreadyApplied(true); |
| 625 | ps->createWidget(); |
| 626 | startReview(ps, OpenAndRaise); |
| 627 | } |
| 628 | |
| 629 | #include "patchreview.moc" |
| 630 | #include "moc_patchreview.cpp" |
nothing calls this directly
no test coverage detected