[Telegram] Don't wait for Telegram to be closed

Authored by nicolasfella on Jul 14 2018, 5:50 AM.

Description

[Telegram] Don't wait for Telegram to be closed

Summary:
Unlike e.g. kdeconnect-cli telegram stays open after sharing. The Job lives as long as telegram is running,
although the exit code is not interesting. Another window with a useless progress bar is open all the time,
which is especially annoying when using a tiling window manager. This patch waits shortly and stops the job
while keeping telegram open. Directly stopping the job would cause telegram not to open at all. The waiting
time is somewhat ad-hoc, but works well in my case.

Test Plan:
Share something via Telegram. See progress window open shortly and close again. Telegram stays
open, ready to share

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
nicolasfellaJul 16 2018, 1:29 PM
Reviewer
apol
Differential Revision
D14107: [Telegram] Don't wait for Telegram to be closed
Parents
R495:a87c61dcb99b: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown