Fixed filetransferjob broken after adding icons.
The plasmoid didn't know the transfer ended. REVIEW: 130116
This commit is contained in:
parent
4626df02fa
commit
f0010763e7
2 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue