Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.8.0
-
None
-
5dc506ad841685c8404c085bd8cf9c5442518897
Description
QObject Public Functions:
bool connect(const QObject* sender, ... ) const; bool disconnect(const QObject* receiver, ... );
QObject Static Public Members:
bool connect(const QObject* sender, ... , const QObject * receiver, ... ); bool disconnect(const QObject * sender, ... , const QObject * receiver, ... );
Notice that all QObject references are const, except that the disconnect member methods are non-const functions.
Please fix this inconsistency, by making the disconnect function const as well.
Attachments
For Gerrit Dashboard: QTBUG-23622 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
22669,1 | Mark QObject::disconnect overload const | api_changes | qt/qtbase | Status: MERGED | +2 | 0 |