qt5base-lts/tests/auto/corelib
Fawzi Mohamed f69144471b Allow getting a const pointer out of a variant containing pointer
Currently
  A a;
  QVariant::fromValue(&a).value<const A*>() == nullptr;
Still casting non const to const is safe, and worked in Qt5.
After this change
  A a;
  QVariant::fromValue(&a).value<const A*>() == &a;

Change-Id: I257049d084c712b00a338a2943d379aa478e0981
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-10-08 18:13:34 +02:00
..
animation Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
global Add {add,sub,mul}_overflow detection when one operand is a constant 2020-09-29 14:55:48 -07:00
io Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
itemmodels Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
kernel Allow getting a const pointer out of a variant containing pointer 2020-10-08 18:13:34 +02:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
serialization Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
text Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
thread Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
time Allow millisecond-overflow when the result remains valid 2020-10-07 13:58:33 +00:00
tools Make QADP capacity functions use qsizetype instead of size_t 2020-10-08 16:52:28 +02:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00