diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-08-09 10:44:49 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-08-09 18:34:19 +0200 |
| commit | c49bf9fe27e0632aa8da393ff007cf4577a1c9cd (patch) | |
| tree | 6fa6678dfea898c915faae727e6169caad2f3016 /src/gui/vulkan/qbasicvulkanplatforminstance.cpp | |
| parent | b7812bbbb66d19abf7d3fc3c4f34620a646ce429 (diff) | |
Documentation: Fix "Using Model Indexes" in Model View Programming guide to work
The code introduced by 54d5ca0c2766e915c960fa437cee6c20a324c1a7
did not work since the variables parentIndex/numRows
were local to the lambda and the outer code would not wait.
Move the widgets population into the lambda to fix this.
Modernize the remaining code a bit.
Pick-to: 6.4 6.3 6.2
Change-Id: I2a09878987df9edb9ff04f0ac4ad82af1a8b52c8
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui/vulkan/qbasicvulkanplatforminstance.cpp')
0 files changed, 0 insertions, 0 deletions
