diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-03-27 15:21:38 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-03-28 02:51:00 +0100 |
| commit | 2332f827c5344dae2a528fb61f720694a364bffa (patch) | |
| tree | d129ff8d2b43aaffabcfe3e5f26d027e950416fb /src/corelib/tools/qbitarray.cpp | |
| parent | e9dbc016e133e881ffb4d9994735c15c96699e0f (diff) | |
QGIM: check that row is valid also in flags()
While we never access the data, accessing a MultiColumn item holding a
nullptr would still dereference that nullptr, and then pass that
reference to our lambda.
And the results are misleading: if there is no gadget or object stored
for that row yet, then the item is not editable - nothing can be stored.
Change-Id: Ic24242296f8cdedae6e36a12da470831eb93ee2a
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/corelib/tools/qbitarray.cpp')
0 files changed, 0 insertions, 0 deletions
