mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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
This commit is contained in:
parent
df7c2385ec
commit
6c24907d28
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue