From: George Goldberg Date: Mon, 2 Jun 2008 02:57:22 +0000 (+0000) Subject: dolphin part context menu now displays delete and not send to trash for remote files... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/6c24907d28a7879fba5d0b68c75b835db707e514 dolphin part context menu now displays delete and not send to trash for remote files. (Makes behaviour same is in dolphin itself). CCBUGS: 161594 svn path=/trunk/KDE/kdebase/apps/; revision=815519 --- diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index fefec95a1..fb34941c2 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -331,7 +331,7 @@ void DolphinPart::slotOpenContextMenu(const KFileItem& _item, const KUrl&) bool isIntoTrash = _item.url().protocol() == "trash"; - if ( sMoving && !isIntoTrash ) + if ( sMoving && !isIntoTrash && item.isLocalFile() ) addTrash = true; if ( sDeleting ) {