Update deprecated KUrlLabel::leftClickedUrl
ClosedPublic

Authored by gengisdave on Dec 31 2019, 11:12 AM.

Details

Summary

In version 5.65 of KIO, KUrlLabel::leftClickedUrl(const QString &) is deprecated, leaving KUrlLabel::leftClickedUrl(). This patch changes the code accordingly.

Test Plan

At Krusader first start, the links present in the search tools and packers must open the relative page in the browser - test with KIO >= 5.65 and <= 5.55

Diff Detail

Repository
R167 Krusader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gengisdave requested review of this revision.Dec 31 2019, 11:12 AM
gengisdave created this revision.
asensi accepted this revision as: asensi.Jan 14 2020, 10:18 PM
asensi added a subscriber: asensi.

The new code works using Kubuntu 18.04 LTS and Kubuntu 19.10, other people can do their checks. Thanks, Davide!

This revision is now accepted and ready to land.Jan 14 2020, 10:18 PM
This revision was automatically updated to reflect the committed changes.