[Kicker] Use KFilePlaces::convertedUrl for ComputerModel
ClosedPublic

Authored by broulik on Tue, Jul 10, 1:46 PM.

Details

Summary

Fixes timeline and search URLs in "Computer" tab

BUG: 363337
FIXED-IN: 5.12.7

Test Plan

It causes it to show technical baloosearch:?json=blabla URLs as subtext but it's better than not working at all

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Tue, Jul 10, 1:46 PM
Restricted Application added a project: Plasma. · View Herald TranscriptTue, Jul 10, 1:46 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Tue, Jul 10, 1:46 PM

Verified that this fixes the bug. Sadly this does make the subtitle somewhat ugly for the Search For entries in particular:

Is there nothing we can do about that?

hein added a comment.Tue, Jul 10, 8:40 PM

Yeah, I think this isn't very pretty unfortunately. Does KIO have a way to give a human-readable description of an URL or something?

hein accepted this revision.Tue, Jul 10, 8:42 PM

In the meantime this is a necessary bugfix though.

This revision is now accepted and ready to land.Tue, Jul 10, 8:42 PM
This revision was automatically updated to reflect the committed changes.