| 277 | } |
| 278 | |
| 279 | bool showVcsDiff(IPatchSource* vcsDiff) |
| 280 | { |
| 281 | auto* patchReview = ICore::self()->pluginController()->extensionForPlugin<IPatchReview>(QStringLiteral("org.kdevelop.IPatchReview")); |
| 282 | |
| 283 | if( patchReview ) { |
| 284 | patchReview->startReview(vcsDiff); |
| 285 | return true; |
| 286 | } else { |
| 287 | qCWarning(VCS) << "Patch review plugin not found"; |
| 288 | return false; |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | VcsDiff VCSStandardDiffUpdater::update() const |
| 293 | { |
no test coverage detected