Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.2.0
-
None
Description
http://qt-project.org/doc/qt-5/qobject.html#connect-6
The function declaration should state that argument type has default value:
Qt::ConnectionType type = Qt::AutoConnection
Example code uses explicitly Qt::AutoConnection, indicating that Qt::AutoConnection must be specified.
It would be also nice to document the behavior for context == nullptr.
Attachments
For Gerrit Dashboard: QTBUG-36549 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
77005,1 | Add the default argument for the new connection syntax | stable | qt/qtbase | Status: MERGED | +2 | 0 |