┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-05-11 16:23:49 +0200
committerPeter Penz <[email protected]>2012-05-11 16:26:34 +0200
commitb319c59b8d1e068cf621be852ced9c5396bd77f9 (patch)
treeb170d81e7a5c3790cbd9f7e8830537989b027c1a /src/dolphincontextmenu.cpp
parent73c30c7ea25891d3579277734393b70d9d1e2ab3 (diff)
Allow moving items to trash also for non-local files
See bug 188032 for an ongoing discussion. In case if this behavior is really not wanted by users (the feedback on bugs.kde.org will show), the review-request https://git.reviewboard.kde.org/r/104915/ should be merged too (after adjusting some parts of the code).
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp2
1 files changed, 1 insertions, 1 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"