diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-06 21:03:54 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-09 18:46:19 +0100 |
commit | 9608e996a237d9a69a3e29f533e4f430cf9016c1 (patch) | |
tree | dca1966c4df172cb69758d0c2964e31b491eda98 /src/plugins/platforms/wasm | |
parent | 4c3c63d4cbb81b38e88e06b72749e7e01497b6f1 (diff) |
QAIV::sizeHintForIndex: return correct size when no delegate is set
QAIV::sizeHintForIndex checks if a delegate is set for this view but
does not check if there are row/column delegates which may be
appropriate for this task.
Fix it by retrieving the correct delegate directly with
delegateForIndex().
Change-Id: I264359b12e1983aab3a917db7dbcab11253a448f
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm')
0 files changed, 0 insertions, 0 deletions