From: David Faure Date: Tue, 14 Oct 2008 00:24:54 +0000 (+0000) Subject: Don't show an empty error dlg box when aborting deletion. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/256f361e40e1af4a2da95930669cae4af48e78fb?ds=inline Don't show an empty error dlg box when aborting deletion. svn path=/trunk/KDE/kdebase/apps/; revision=871137 --- diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index daadf7730..2c4efca60 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -1022,7 +1022,7 @@ void DolphinView::slotDeleteFileFinished(KJob* job) { if (job->error() == 0) { emit operationCompletedMessage(i18nc("@info:status", "Delete operation completed.")); - } else { + } else if (job->error() != KIO::ERR_USER_CANCELED) { emit errorMessage(job->errorString()); } }