Commit f0010763 authored by Nicolas Fella's avatar Nicolas Fella Committed by Albert Vaca Cintora

Fixed filetransferjob broken after adding icons.

The plasmoid didn't know the transfer ended.

REVIEW: 130116
parent 4626df02
......@@ -54,9 +54,6 @@ public:
QUrl destination() const { return mDestination; }
void setOriginName(const QString& from) { mFrom = from; }
void emitResult();
private Q_SLOTS:
void doStart();
......@@ -109,7 +109,7 @@ KNotification* Notification::createKNotification(bool update, const NetworkPacka
QUrl destinationUrl(mIconPath);
FileTransferJob* job = np.createPayloadTransferJob(destinationUrl);
connect(job, &FileTransferJob::emitResult, this, &Notification::applyIconAndShow);
connect(job, &FileTransferJob::result, this, &Notification::applyIconAndShow);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment