aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-07-28 22:33:25 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-08-07 21:17:27 +0000
commit9e54a0e095e7368279c8e8d1c8d474d1bb9a2505 (patch)
tree601291a51bf977d4ebc02677d078362a0553ca95 /src/qml/types
parent13ea1d89f2bc35b878dde10a89dc186d8d0cd8e7 (diff)
QQuickTableView: don't access the model from the destructor
Calling clear() from the destructor is problematic, since clear() will try to access the application model, which has typically already been destructed at that point. Instead we should just clean-up any local resources. Since we don't really have a need for the clear() function anymore, we move the code where it belongs: into the beginRebuildTable() function. Task-number: QTBUG-69554 Change-Id: Ic43704c71407e805427de27cf10dbdeeae475ba8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/types')
0 files changed, 0 insertions, 0 deletions