Fix send to KDE Connect for older KDE Connect version

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

Description

Fix send to KDE Connect for older KDE Connect version

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).

Reviewers: vkrause, KDE PIM: KMail

Reviewed By: vkrause

Subscribers: kde-pim

Tags: KDE PIM, KDE PIM: KMail, KDE Itinerary

Differential Revision: https://phabricator.kde.org/D17822

Details

Committed
nicolasfellaDec 27 2018, 5:46 PM
Reviewer
vkrause
Differential Revision
D17822: Fix send to KDE Connect for older KDE Connect version
Parents
R81:6f6bd431bdb7: GIT_SILENT: Update copyright
Branches
Unknown
Tags
Unknown