┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2017-01-31 20:50:47 +0100
committerKai Uwe Broulik <[email protected]>2017-01-31 20:50:47 +0100
commite582b13f8485dc9c9fc4b23f72d007dc99deec9b (patch)
tree0e6e61261de3fb08db1faadb96091fa5bab22eaa
parentc1d9becda259c0df58b1447b69f573b6ef13bfa1 (diff)
Hide progress info for rename jobs in rename dialog
When mass-renaming files, you could end up with a a gazillion notifications of a finished move job. This fixes this. Ideally we would have one job which had the rename jobs as subjobs to still get progress info for the overall task. Differential Revision: https://phabricator.kde.org/D4372
-rw-r--r--src/views/renamedialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp
index a514ede1e..cf8f6885d 100644
--- a/src/views/renamedialog.cpp
+++ b/src/views/renamedialog.cpp
@@ -159,7 +159,7 @@ void RenameDialog::renameItem(const KFileItem &item, const QString& newName)
widget = this;
}
- KIO::Job * job = KIO::moveAs(oldUrl, newUrl);
+ KIO::Job * job = KIO::moveAs(oldUrl, newUrl, KIO::HideProgressInfo);
KJobWidgets::setWindow(job, widget);
KIO::FileUndoManager::self()->recordJob(KIO::FileUndoManager::Rename, {oldUrl}, newUrl, job);
job->ui()->setAutoErrorHandlingEnabled(true);