[Desktop Theme KCM] Support installing from remote locations

Authored by broulik on Jan 24 2019, 1:58 PM.



Uses KIO to copy the file into temp folder for installation.
The same as the other KCMs do.

Test Plan

Dragged a theme .tar.gz file from an sftp://-URL into the KCM which spawned a download and had the theme installed

Diff Detail

R119 Plasma Desktop
Lint Skipped
Unit Tests Skipped
broulik created this revision.Jan 24 2019, 1:58 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 24 2019, 1:58 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Jan 24 2019, 1:58 PM
broulik updated this revision to Diff 50187.

Fix copy paste error

davidedmundson accepted this revision.Jan 24 2019, 2:05 PM
davidedmundson added a subscriber: davidedmundson.

Given how much is copy pasta, is there anything that can be made into a lib / put in kpackagetool?

This revision is now accepted and ready to land.Jan 24 2019, 2:05 PM

The other KCMs don't use kpackagetool, so not sure how much sense it makes to add this to kpackagetool.

This revision was automatically updated to reflect the committed changes.