dfaure added a comment.
The statics can be refactored, if they're internal ;) What's more troublesome is the KRun instance might have gone away by the time KProcessRunner ::slotProcessExited is called, though (which is why it's done in a different class). So maybe what's needed is rather some interface, like defaultJobUiDelegateExtension()->requestMessageBox(). REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D10405 To: hein, dfaure, davidedmundson, mart, ngraham Cc: #frameworks, michaelh