Revert this one for now, it causes bug 290936.
I was wrong: we need to only call KRun for HTML files. Otherwise, when clicking on a directory, kfmclient calls KRun which starts kfmclient which calls KRun... It sounds like the only proper fix for this would be to have a KRun-derived class in kfmclient, which gets notified of the found mimetype and can then decide what to do. On the other hand we could also just associate the browser app with text/html in the KCM, and use existing mechanisms instead of piling more logic into kfmclient. CCBUG: 182591 BUG: 290936 FIXED-IN: 4.8.0 (cherry picked from commit d882d2a5)
parent
509940c7
Please register or sign in to comment