Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10748

Add ability for a keyboard shortcut on a given QAction to take no effect

    XMLWordPrintable

Details

    • qnamespace.h, qshortcutmap.cpp

    Description

      I've come across a situation where I need to prevent a keyboard shortcut from ever taking effect when set up in a QAction. This isn't currently possible in Qt, but sits quite nicely as an alternative ShortcutContext. The change only affects two source files (qnamespace.h and qshortcutmap.cpp), and I've attached a patch accordingly.

      Attachments

        Activity

          People

            sorvig Morten Sørvig
            meastwood Michael Eastwood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified