Show progress when duplicating items

For unknown reasons, when I implemented this feature, I turned off
progress notifications. I don't think this makes any sense, and we just
got a bug report about it.

Accordingly, this patches turns on progress notifications.

BUG: 422335
FIXED-IN: 20.04.2
This commit is contained in:
Nate Graham 2020-06-01 09:58:25 -06:00
parent 29e6cf01df
commit 70b3f61e1e

View file

@ -740,7 +740,7 @@ void DolphinView::duplicateSelectedItems()
duplicateURL.setPath(originalDirectoryPath + i18nc("<filename> copy", "%1 copy", originalFilenameWithoutExtension) + originalExtension); duplicateURL.setPath(originalDirectoryPath + i18nc("<filename> copy", "%1 copy", originalFilenameWithoutExtension) + originalExtension);
} }
KIO::CopyJob* job = KIO::copyAs(originalURL, duplicateURL, KIO::HideProgressInfo); KIO::CopyJob* job = KIO::copyAs(originalURL, duplicateURL);
KJobWidgets::setWindow(job, this); KJobWidgets::setWindow(job, this);
if (job) { if (job) {