aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/libpyside/pysideproperty.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-24 12:03:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-25 09:19:30 +0100
commit308aba2154699596e3fd0973501213423462a80b (patch)
tree1fe6fe905c3681042e2af27e025256b1593c52b7 /sources/pyside2/libpyside/pysideproperty.cpp
parent3a2072075af39278529ff9d1201be3bcaadfb349 (diff)
PySide2: Use int for QVariant conversion when possible
Check using the init limits in the QVariant long long conversion and create an int if possible. This works more smoothly with Qt and for example ensures that the correct editor is created in item views. Change-Id: I0ca2e5e7b91f309deaa81a25e70a5f894f43f841 Fixes: PYSIDE-1250 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/libpyside/pysideproperty.cpp')
0 files changed, 0 insertions, 0 deletions