diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-09-16 14:20:26 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-09-17 17:29:24 +0000 |
commit | d48db627f3fee4a21364bf0f8de9f9ea56809f3d (patch) | |
tree | 39faa9aa42e92a99d3a487f05ec15853b757967d /examples/embedded/styleexample/CMakeLists.txt | |
parent | c763957503453ca954224c24a6d1ce493fccc318 (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/embedded/styleexample/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions