aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/pysidetest/homonymoussignalandmethod_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-27 07:44:20 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-27 09:35:50 +0000
commitac2eb96b1983aa09f2d95a060b5dc31df228f33d (patch)
tree86d3e257bbeebfef2205bde61c16b6f80b556e9e /sources/pyside2/tests/pysidetest/homonymoussignalandmethod_test.py
parentd3ee9402ebc0abcf973ea8a7f4268c9f6aacd364 (diff)
libpyside: Fix deprecation warnings about constructing a QVariant from a type id
Build the QVariant from the QMetaType, fixing warning like: libpyside/pysidemetafunction.cpp:186:64: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] /libpyside/pysidemetafunction.cpp:186:77: warning: ‘QVariant::QVariant(QVariant::Type)’ is deprecated: Use the constructor taking a QMetaType instead. [-Wdeprecated-declarations] Change-Id: I5c9c4d775ef58ecf17326c112c5130c43fe1a09b Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/tests/pysidetest/homonymoussignalandmethod_test.py')
0 files changed, 0 insertions, 0 deletions