aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/usingmodel/usingmodel.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-09-09 13:49:36 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-09-10 11:06:13 +0200
commit46e0d095def5742540babd3854d582f32c4f2e48 (patch)
treedf035d488c807ae8a55dc091e74d8b0c3b24915b /examples/qml/usingmodel/usingmodel.py
parent8acc7f3e52444e34dfaff5e38b1fb75e046a434b (diff)
libpysideqml: Fix MSVC lossy integer conversion warning in QML error handling
Returning the qint64 result of the QV4::ExecutionEngine::throw...() functions (usually 0) as int causes a lossy conversion warning. It is not clear what the original intent of the code was; return -1 instead to terminate processing in qt_metacall(), from which it is used. Change-Id: I3a4f7f38ae6f2b36de47f7d14f6c12254f85147d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/qml/usingmodel/usingmodel.py')
0 files changed, 0 insertions, 0 deletions