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

QKeySequence::toString() fails with ::GroupSwitchModifier

    XMLWordPrintable

Details

    Description

      qDebug() << QKeySequence(Qt::NoModifier).toString();
      qDebug() << QKeySequence(Qt::ShiftModifier).toString();
      qDebug() << QKeySequence(Qt::ControlModifier).toString();
      qDebug() << QKeySequence(Qt::AltModifier).toString();
      qDebug() << QKeySequence(Qt::MetaModifier).toString();
      qDebug() << QKeySequence(Qt::KeypadModifier).toString();
      qDebug() << QKeySequence(Qt::GroupSwitchModifier).toString();
      qDebug() << QKeySequence(Qt::KeyboardModifierMask).toString();
      

      results in

      ""
      "Shift+"
      "Ctrl+"
      "Alt+"
      "Meta+"
      "Num+"
      "ퟀ?"  // <<< Should be AltGr
      

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              manuelschneid3r Manuel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes