summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-04-02 17:52:54 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-05 16:26:06 +0200
commit722798a359761a1eb635d18547b076615f192508 (patch)
tree4f8bf4bd68b21c7c3fa443da67843c68492e7cb7 /src/plugins/platforms/android
parenta658d26d84d1fa2b45d8e39d45cf93040a384603 (diff)
Don't call virtual methods after the source model is destroyed.
Calling clear_mapping causes the persistent indexes to be queried, and mapped using map_to_source, so that they can be restored later. That is not the appropriate response to the source model being deleted because there won't be anything to restore. Simply clear the stored mapping information instead so that the source model actually exists when mapToSource is called by the framework. Change-Id: I99692ee7aa9c6714aec45c68fe4a2d62be189d60 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/platforms/android')
0 files changed, 0 insertions, 0 deletions