From 6c24907d28a7879fba5d0b68c75b835db707e514 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Mon, 2 Jun 2008 02:57:22 +0000 Subject: [PATCH] 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 --- src/dolphinpart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.47.3