diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-09-09 08:10:30 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-09-10 08:53:00 (GMT) |
commit | 0b0aa7603b27447a5abe55c55d0514bc56b35f9e (patch) | |
tree | 15b4c81d16883e1a2c3b2cc45859a4c383d5e72c /tests | |
parent | 101a63a6fd53e00eaa7e7a56d1ece33327a19bf8 (diff) | |
download | Qt-0b0aa7603b27447a5abe55c55d0514bc56b35f9e.zip Qt-0b0aa7603b27447a5abe55c55d0514bc56b35f9e.tar.gz Qt-0b0aa7603b27447a5abe55c55d0514bc56b35f9e.tar.bz2 |
Properly implement qobject_cast for const pointers.
Instead of using ugly const_cast in public headers and Q_UNUSED
(which expands to nothing in release builds), use a properly-const
method.
Reviewed-By: Bradley T. Hughes
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions