We cannot go from member function pointer to method index for slots (we can for signals), so using string-based syntax to connect and PMF-syntax to disconnect doesn't work, and vice versa. Document this in a (partially failing) test, and add a warning to the relevant QObject::disconnect documentation. Task-number: QTBUG-126580 Task-number: QTBUG-126581 Change-Id: I4b17662aa9aa7b624049c5b0a3b046ed35230f05 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 27a3229626249a100d8e6fa495927715aba6963d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| signalbug | ||
| .gitignore | ||
| CMakeLists.txt | ||
| tst_qobject.cpp | ||