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

QShortcutMap::dispatchEvent: Send notification, if event not dispatched

XMLWordPrintable

    • All

      QShortcutMap::dispatchEvent simply returns, if only disabled matches are found for the current key sequence. It would be helpful to get a signal or event at this point in order to implement a minimal response for the user, e.g. a QApplication::beep().

      void QShortcutMap::dispatchEvent(QKeyEvent *e)
      {
          Q_D(QShortcutMap);
          if (!d->identicals.size())
              return; // <== emit signal or event here (emit qApp->...)
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            wschenke Winfried Schenke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes