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

EnterWhatsThisMode causes a false warning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0 Beta1
    • 5.2.0 Alpha
    • GUI: Window management
    • None
    • Windows 8
    • 46cde99c57f33136ed98e3e0d441c68b73a798dc

    Description

      In qtbase\src\gui\kernel\qguiapplication.cpp

      There is this code:

          case QWindowSystemInterfacePrivate::EnterWhatsThisMode:
              QGuiApplication::postEvent(QGuiApplication::instance(), new QEvent(QEvent::EnterWhatsThisMode));
          default:
              qWarning() << "Unknown user input event type:" << e->type;
              break;
      

      Obviously a "break" is missing before "default:", causing a false warning.
      This happens when clicking on the ? button in a Windows caption bar.

      Attachments

        For Gerrit Dashboard: QTBUG-34016
        # Subject Branch Project Status CR V

        Activity

          People

            liaqi Liang Qi
            jirauser26727 user-04d21 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes