+ // Make sure we show Del in the context menu.
+ auto trashShortcuts = m_action->shortcuts();
+ trashShortcuts.removeAll(QKeySequence::Delete);
+ trashShortcuts.prepend(QKeySequence::Delete);
+ m_collection->setDefaultShortcuts(this, trashShortcuts);