diff options
author | Andy Shaw <andy.shaw@qt.io> | 2019-05-20 14:51:41 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2019-05-20 14:51:41 +0200 |
commit | 84fbb48832e984c7fce1c4091adb0d340974a75f (patch) | |
tree | 658f79367f236721d51ef6183a7101dbc60cf105 /src/controls/qquickmenubar_p.h | |
parent | 8c015b374b66c952ff43150f0ffcee433a9eb412 (diff) | |
download | qtquickcontrols-84fbb48832e984c7fce1c4091adb0d340974a75f.tar.gz |
Don't specify null to indicate an invalid QModelIndex
Since this call is done on the C++ side, there is no means to equate
null as being the same as QModelIndex(). As that is the default value
when calling index(), we can just drop the argument in this case.
Change-Id: I97b80064978b7af01f0606ed6f3778349adc4277
Fixes: QTBUG-74523
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/controls/qquickmenubar_p.h')
0 files changed, 0 insertions, 0 deletions