[Digikam-devel] [Bug 286212] Digikam's shortcut for Delete permanently does not work (shift + del).

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Nov 12 16:52:51 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=286212





--- Comment #5 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-11-12 16:52:51 ---
See this code from dolphin:

    // need to remove shift+del from cut action, else the shortcut for
deletejob
    // doesn't work
    KAction* cut = KStandardAction::cut(this, SLOT(cut()), actionCollection());
    KShortcut cutShortcut = cut->shortcut();
    cutShortcut.remove(Qt::SHIFT | Qt::Key_Delete, KShortcut::KeepEmpty);
    cut->setShortcut(cutShortcut);

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list