Fix send to KDE Connect for older KDE Connect version
ClosedPublic

Authored by nicolasfella on Dec 27 2018, 4:45 PM.

Details

Summary

When I wrote the code I assumed that by the time it is released the corresponding KDE Connect changes would be released, too. History proved me wrong. The openFile method will only be available with KDE Connect 1.4 whose release
is not yet scheduled.

For older versions of KDE Connect shareUrl is used now. That transfers the file but does not open it.

Test Plan

Tested with KDE Connect 1.3.3 and master (with version bumped to 1.4).

Diff Detail

Repository
R81 KDE PIM Addons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Dec 27 2018, 4:45 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptDec 27 2018, 4:45 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
nicolasfella requested review of this revision.Dec 27 2018, 4:45 PM
vkrause accepted this revision.Dec 27 2018, 5:31 PM
This revision is now accepted and ready to land.Dec 27 2018, 5:31 PM
This revision was automatically updated to reflect the committed changes.

I'd like to also land this in stable since otherwise a broken feature is exposed. Is that ok?

I'd like to also land this in stable since otherwise a broken feature is exposed. Is that ok?

Sure!