diff --git a/core/filetransferjob.h b/core/filetransferjob.h index e56abf196..a94b38c0b 100644 --- a/core/filetransferjob.h +++ b/core/filetransferjob.h @@ -54,9 +54,6 @@ public: QUrl destination() const { return mDestination; } void setOriginName(const QString& from) { mFrom = from; } - Q_SIGNALS: - void emitResult(); - private Q_SLOTS: void doStart(); diff --git a/plugins/notifications/notification.cpp b/plugins/notifications/notification.cpp index 0e91e10f1..cab7c355c 100644 --- a/plugins/notifications/notification.cpp +++ b/plugins/notifications/notification.cpp @@ -109,7 +109,7 @@ KNotification* Notification::createKNotification(bool update, const NetworkPacka QUrl destinationUrl(mIconPath); FileTransferJob* job = np.createPayloadTransferJob(destinationUrl); job->start(); - connect(job, &FileTransferJob::emitResult, this, &Notification::applyIconAndShow); + connect(job, &FileTransferJob::result, this, &Notification::applyIconAndShow); } }