summaryrefslogtreecommitdiffstats
path: root/examples/quick/controls/filesystembrowser
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-05-21 10:56:25 +0200
committerGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-05-21 12:47:52 +0000
commitc317ed601212aa657fe06ebc9f773e0e8941b511 (patch)
treeec9dd02ae300a89cbdeb0deb0d9116e7867953c7 /examples/quick/controls/filesystembrowser
parent68cb8236ca7d02fe726e233618eaddc978f33e1f (diff)
TreeModelAdaptor: Monitor model's lifespan
We make the model adaptor behave as if it had no model set if the model gets deleted. Also, while not strictly necessary, using a QPointer adds some extra safety. Change-Id: Ic6963319678acee0097dcddfea36059f9046b093 Task-number: QTBUG-46214 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Diffstat (limited to 'examples/quick/controls/filesystembrowser')
0 files changed, 0 insertions, 0 deletions