┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphincontextmenu.cpp2
-rw-r--r--src/dolphincontextmenu.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 286d304c5..670062250 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -559,7 +559,7 @@ void DolphinContextMenu::updateRemoveAction()
bool DolphinContextMenu::moveToTrash() const
{
- return selectedItemsProperties().isLocal() && !m_shiftPressed;
+ return !m_shiftPressed;
}
#include "dolphincontextmenu.moc"
diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h
index 9e8b804cd..75a6e35e8 100644
--- a/src/dolphincontextmenu.h
+++ b/src/dolphincontextmenu.h
@@ -176,8 +176,8 @@ private:
void updateRemoveAction();
/**
- * @return True if no shift key has been pressed and the selection represents
- * only local files.
+ * @return True if a moving to the trash should be done instead of
+ * deleting the selected items.
* @see updateRemoveAction(), slotRemoveActionTriggered()
*/
bool moveToTrash() const;