qt5base-lts/tests/auto
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
..
cmake Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
concurrent Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
corelib Allow getting a const pointer out of a variant containing pointer 2020-10-08 18:13:34 +02:00
dbus Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
gui Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
printsupport Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
testlib Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
tools Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
widgets Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
xml CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00