Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.2
-
windows
-
972580accdd0732b33947e8b1ca0ba8943041bdc, 1cf75af3f2f3430bab11f9ef1eea5deb4c59aa2e
Description
disconnectNotify() is not called after a signal has been disconnected.
QMetaObject::Connection conn = QObject::connect(myObject, &MyObject;::someSignal, this, [this]() { }); QObject::disconnect(conn); // Or disconnect(myObject, SIGNAL(someSignal()), 0, 0); void MyObject::disconnectNotify(const QMetaMethod&) { // function not called }