From 147fb6f35f9693e821ccad737491d52838928716 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 31 Mar 2019 19:19:28 +0000 Subject: [PATCH] Tweak Upload job finished notification --- core/backends/lan/compositeuploadjob.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/backends/lan/compositeuploadjob.cpp b/core/backends/lan/compositeuploadjob.cpp index 0b979d44f..614d3e355 100644 --- a/core/backends/lan/compositeuploadjob.cpp +++ b/core/backends/lan/compositeuploadjob.cpp @@ -271,8 +271,11 @@ void CompositeUploadJob::slotResult(KJob *job) { m_currentJobNum++; startNextSubJob(); } else { - Q_EMIT description(this, i18n("Finished sending to %1", Daemon::instance()->getDevice(this->m_deviceId)->name()), - { QString(), i18np("Sent 1 file", "Sent %1 files", m_totalJobs) } + QPair field2; + field2.first = QString("Files"); + field2.second = i18np("Sent 1 file", "Sent %1 files", m_totalJobs); + Q_EMIT description(this, i18n("Sending to %1", Daemon::instance()->getDevice(this->m_deviceId)->name()), + { QString(), QString() }, field2 ); emitResult(); }