diff options
author | Adrian Herrmann <adrian.herrmann@qt.io> | 2022-08-17 18:54:45 +0200 |
---|---|---|
committer | Adrian Herrmann <adrian.herrmann@qt.io> | 2022-08-18 17:53:22 +0200 |
commit | 5e4a830f2aa5e27e203fc0a4fc482b339d9106a4 (patch) | |
tree | 26500604b627a4f8656e520ae1098241a96b8b46 /examples/scriptableapplication/doc/scriptableapplication.pyproject | |
parent | f096a6497b311555a06be7218027411a6a6ee166 (diff) |
Fix random values in QFormLayout.getItemPosition()
In QFormLayout::getItemPosition() on the C++ side, *rolePtr is not set
if row == -1, in which case on the Python side this gets converted to a
random value outside the enum range. Fix this by setting *rolePtr to a
default value in the glue code.
Pick-to: 6.2 6.3
Change-Id: I0c67c771ed017f14b211fa6ccf9c89706152d214
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/scriptableapplication/doc/scriptableapplication.pyproject')
0 files changed, 0 insertions, 0 deletions