Commit fda03a10 authored by Frank Reininghaus's avatar Frank Reininghaus
Browse files

Do not delete files when Shift-clicking "Trash"

Thanks to Dawit Alemayehu for making this fix possible with commit
8e023ae9 !

BUG: 307254
FIXED-IN: 4.11.0
parent 122404e7
......@@ -314,14 +314,7 @@ void DolphinViewActionHandler::slotRename()
void DolphinViewActionHandler::slotTrashActivated(Qt::MouseButtons, Qt::KeyboardModifiers modifiers)
{
emit actionBeingHandled();
// Note: kde3's konq_mainwindow.cpp used to check
// reason == KAction::PopupMenuActivation && ...
// but this isn't supported anymore
if (modifiers & Qt::ShiftModifier) {
m_currentView->deleteSelectedItems();
} else {
m_currentView->trashSelectedItems();
}
m_currentView->trashSelectedItems();
}
void DolphinViewActionHandler::slotDeleteItems()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment