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

QShortcut has no PointerToMemberFunction overload for the receiver

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12.3
    • None
    • a4751f8824723acaee4b9d8aa78a59c2aa36cb3e (qt/qtbase/5.15)

      There is only one constructor for QShortcut https://doc.qt.io/qt-5/qshortcut.html#QShortcut-1

      The constructor takes a const char* member which is called when the shortcut is activated. This is useful. However, this only works with the old SLOT( member() ) syntax and not with the &ClassName::member syntax, which allows for compile-time checking for non-existing members.

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            uiohbgq uiohbgq
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes