]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Show progress when duplicating items
authorNate Graham <nate@kde.org>
Mon, 1 Jun 2020 15:58:25 +0000 (09:58 -0600)
committerNate Graham <nate@kde.org>
Mon, 1 Jun 2020 15:58:25 +0000 (09:58 -0600)
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

src/views/dolphinview.cpp

index d8f2aab937bc84f33f8e93a95fb5e1ffee80b892..2caa8ec68185ec0a465cacd3f673c4cf6e8e02fe 100644 (file)
@@ -740,7 +740,7 @@ void DolphinView::duplicateSelectedItems()
             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);
 
         if (job) {