openwith: extract core logic from dialog

so it may be used by the plasma-specific implementation of OpenWithHandlerInterface

(this targets kf5 for convenience's sake it actually needs landing in both 5 and 6)

Merge request reports

Loading