From 5da0ae7903d69c999904dcfb444008494052ff3c Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Thu, 19 Dec 2019 15:58:05 +0100 Subject: [PATCH] Set total amount of files Ensures the progress dialog can show the total number of files and offer additional actions for when a single file was copied. --- core/compositefiletransferjob.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/compositefiletransferjob.cpp b/core/compositefiletransferjob.cpp index 1be143218..5d3357c97 100644 --- a/core/compositefiletransferjob.cpp +++ b/core/compositefiletransferjob.cpp @@ -77,6 +77,7 @@ bool CompositeFileTransferJob::addSubjob(KJob* job) if (np->has(QStringLiteral("numberOfFiles"))) { m_totalJobs = np->get(QStringLiteral("numberOfFiles")); + setTotalAmount(Files, m_totalJobs); } QString filename = np->get(QStringLiteral("filename"));