]> cloud.milkyroute.net Git - dolphin.git/commitdiff
dolphin part context menu now displays delete and not send to trash for remote files...
authorGeorge Goldberg <grundleborg@googlemail.com>
Mon, 2 Jun 2008 02:57:22 +0000 (02:57 +0000)
committerGeorge Goldberg <grundleborg@googlemail.com>
Mon, 2 Jun 2008 02:57:22 +0000 (02:57 +0000)
CCBUGS: 161594

svn path=/trunk/KDE/kdebase/apps/; revision=815519

src/dolphinpart.cpp

index fefec95a13aeb09d6ff0a3e9822f804440f6c614..fb34941c2612558adb2f4ab9360aba520559dffd 100644 (file)
@@ -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 ) {