summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/addressbook.qdoc
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-09-16 14:20:26 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-09-17 17:29:24 +0000
commitd48db627f3fee4a21364bf0f8de9f9ea56809f3d (patch)
tree39faa9aa42e92a99d3a487f05ec15853b757967d /examples/widgets/doc/src/addressbook.qdoc
parentc763957503453ca954224c24a6d1ce493fccc318 (diff)
QVersionNumber: fix iterator/pointer mistake
The dataFitsInline and setInlineData functions take a pointer/size pair, not an iterator/size pair. The code was working because QList iterators implicitly convert to pointers -- but that's sloppy, just use the list's data() function instead. Do a similar change for the constructor taking an initializer_list, for symmetry. Change-Id: I2cec191620185b3b08169c4051296eb610f14ecf Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/widgets/doc/src/addressbook.qdoc')
0 files changed, 0 insertions, 0 deletions