Skip to content

QQmlDelegateModel: Refresh the view when a column is added at 0

It can happen that a model reports n>0 rows but columns=0 (See QConcatenateTablesProxyModel). In those cases we would render glitchy items until the elements are marked as dirty.

Change-Id: I615c9cacbb1b6f9dee3898b03476605e5ac39d0a Reviewed-by: Ulf Hermann ulf.hermann@qt.io (cherry picked from commit ec9251ef) Reviewed-by: Qt Cherry-pick Bot cherrypick_bot@qt-project.org Signed-off-by: Aleix Pol aleixpol@kde.org

Merge request reports