Fix connection to const slots (or from const signals)
authorOlivier Goffart <ogoffart@woboq.com>
Thu, 12 Jan 2012 19:46:15 +0000 (20:46 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 6 Nov 2012 08:18:54 +0000 (09:18 +0100)
commitcf1eb700702aec473db0a4794b1a6549ee10bb62
tree6a36023c279475756e965f05abd8be41e2a8b0f6
parent6eb0ef546a43ed721b59703e3b8646c9a41f20d0
Fix connection to const slots (or from const signals)

Pointer to const member function have a different signature, and hence
need their own traits code.

Change-Id: Ie4b2434a412f412444fb07ef1388a37cab105ecd
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/kernel/qobjectdefs_impl.h
tests/auto/corelib/kernel/qobject/tst_qobject.cpp