┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2022-08-24 17:00:01 +0200
committerKai Uwe Broulik <[email protected]>2022-08-24 17:00:01 +0200
commita44830c3a9f954c376d21d4526d94c26d19d010c (patch)
tree2ed10a125ba55a7fe291542f9211f80cd7098520 /src/views/dolphinview.cpp
parent29cd7b8e1f2f21e8ae8aabba71cadb123c668775 (diff)
Don't show error message on ERR_USER_CANCELED
There's no point telling the user what they just did. After https://invent.kde.org/frameworks/kio/-/commit/f192c133eb01bc8448d5ddd97fe20f8e6dbc467d this error has a text associated with it, so it might show up in the UI.
Diffstat (limited to 'src/views/dolphinview.cpp')
-rw-r--r--src/views/dolphinview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index c34600678..a00d485c8 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1367,7 +1367,7 @@ void DolphinView::slotItemCreated(const QUrl& url)
void DolphinView::slotJobResult(KJob *job)
{
- if (job->error()) {
+ if (job->error() && job->error() != KIO::ERR_USER_CANCELED) {
Q_EMIT errorMessage(job->errorString());
}
if (!m_selectedUrls.isEmpty()) {