diff options
| author | George Goldberg <[email protected]> | 2008-06-02 02:57:22 +0000 |
|---|---|---|
| committer | George Goldberg <[email protected]> | 2008-06-02 02:57:22 +0000 |
| commit | 6c24907d28a7879fba5d0b68c75b835db707e514 (patch) | |
| tree | cda282d576021ffb57978598c0da483325ad1c2e /src/dolphinpart.cpp | |
| parent | df7c2385eca7184e349af7265f585ebdabe66ab2 (diff) | |
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
Diffstat (limited to 'src/dolphinpart.cpp')
| -rw-r--r-- | src/dolphinpart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |
