Specify that we only support Kill.

This commit is contained in:
Àlex Fiestas 2014-03-03 22:34:25 +01:00
parent e4c3e8c4cd
commit 8a216531cb

View file

@ -39,6 +39,8 @@ FileTransferJob::FileTransferJob(const QSharedPointer<QIODevice>& origin, int si
mDestination = destination; mDestination = destination;
mDestinationJob = 0; mDestinationJob = 0;
mDeviceName = i18nc("Device name that will appear on the jobs", "KDE-Connect"); mDeviceName = i18nc("Device name that will appear on the jobs", "KDE-Connect");
setCapabilities(Killable);
kDebug(kdeconnect_kded()) << "FileTransferJob Downloading payload to" << destination; kDebug(kdeconnect_kded()) << "FileTransferJob Downloading payload to" << destination;
} }