Konqueror: restore "Default web browser engine" setting
Review Request #129518 - Created Nov. 21, 2016 and submitted
This settings was originally commented out in the sources, requiring a port to Qt5. There was not actually much porting to be done, apart from setting the correct QStandardPaths location for the mimeapps.list file, but I've also tidied up and removed a lot of the old cruft and unused code.
Built Konqueror with these changes, checked correct operation of the Settings - Configure Konqueror - General dialogue and the setting of the preferred association for the HTML MIME types.
|That is actually not fully correct anymore, any process making a trader query should get updated information automatically, the sycoca ...||David Faure|
Indeed, you are completely right, sorry.
I forgot my own code, but at least I did document it (ksycoca.h, ensureCacheValid(), says (implies) no autodetection for mimeapps.list changes -- after all there are only few places which modify it, so no point in slowing down queries). And that docu suggests KBuildSycocaProgressDialog in GUI programs, so this code is right on.