Use QDesktopServices to open urls not supported by dolphin
ClosedPublic

Authored by meven on Jan 17 2020, 5:12 PM.

Details

Summary

This improves portability.
QDesktopServices uses standard mimetype base resolution to find the app to use.

BUG: 372642
FIXED-IN: 20.04

Test Plan
  • Open http://google.com, opened default web browser
  • Open mms:// (on my test system opened vlc)

Diff Detail

Repository
R318 Dolphin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
meven created this revision.Jan 17 2020, 5:12 PM
Restricted Application added a project: Dolphin. · View Herald TranscriptJan 17 2020, 5:12 PM
Restricted Application added a subscriber: kfm-devel. · View Herald Transcript
meven requested review of this revision.Jan 17 2020, 5:12 PM

Very nice, much simpler than D18838 ;)

This should fix https://bugs.kde.org/show_bug.cgi?id=372642 right?

meven edited the summary of this revision. (Show Details)Jan 19 2020, 9:45 PM

Very nice, much simpler than D18838 ;)

This should fix https://bugs.kde.org/show_bug.cgi?id=372642 right?

Yes

elvisangelaccio accepted this revision.Jan 19 2020, 10:10 PM
This revision is now accepted and ready to land.Jan 19 2020, 10:10 PM
meven edited the summary of this revision. (Show Details)Jan 20 2020, 9:29 AM
meven updated this revision to Diff 73918.Jan 20 2020, 9:43 AM

Ensure the url navigator matches the current path

ngraham accepted this revision.Jan 20 2020, 3:19 PM
This revision was automatically updated to reflect the committed changes.