Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
5.12.3
-
None
-
a4751f8824723acaee4b9d8aa78a59c2aa36cb3e (qt/qtbase/5.15)
Description
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.
Attachments
Issue Links
- resulted in
-
QTBUG-82415 [REG 5.14->5.15] QShortcut constructor call fails to compile if called with ambiguousMember=nullptr (or 0)
-
- Closed
-