diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-09-09 13:49:36 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-09-10 11:06:13 +0200 |
| commit | 46e0d095def5742540babd3854d582f32c4f2e48 (patch) | |
| tree | df035d488c807ae8a55dc091e74d8b0c3b24915b /sources/pyside6/PySide6/glue/qtgui.cpp | |
| parent | 8acc7f3e52444e34dfaff5e38b1fb75e046a434b (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 'sources/pyside6/PySide6/glue/qtgui.cpp')
0 files changed, 0 insertions, 0 deletions
