[Gammaray-commits] [KDAB/GammaRay] 42e3fb: Fix crash when an QuickItem's parent is set to 0.
Anton Kreuzkamp
anton.kreuzkamp at kdab.com
Tue Mar 25 10:17:56 CET 2014
Branch: refs/heads/master
Home: https://github.com/KDAB/GammaRay
Commit: 42e3fb752e9b0420c2aacc91e4a5455597809d15
https://github.com/KDAB/GammaRay/commit/42e3fb752e9b0420c2aacc91e4a5455597809d15
Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
Date: 2014-03-25 (Tue, 25 Mar 2014)
Changed paths:
M plugins/quickinspector/quickitemmodel.cpp
Log Message:
-----------
Fix crash when an QuickItem's parent is set to 0.
The itemreparented-slot now checks if the parent was set to 0
(=> removed from the scene, without deleting) and in this case removes
the item from the model.
Commit: 6778c8ad297f5e45aa44c4caa686dc90a5810d52
https://github.com/KDAB/GammaRay/commit/6778c8ad297f5e45aa44c4caa686dc90a5810d52
Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
Date: 2014-03-25 (Tue, 25 Mar 2014)
Changed paths:
M plugins/quickinspector/quickitemmodel.cpp
M plugins/quickinspector/quickitemmodel.h
Log Message:
-----------
QuickItemModel: Remove children of removed items.
This commit fixes a crash when accessing the children of an item whose
parent has been removed from the model. Until now the children
remained in the model's internal data set, now they're removed
correctly, when the parent is removed.
Compare: https://github.com/KDAB/GammaRay/compare/f088bcc7438a...6778c8ad297f
More information about the Gammaray-commits
mailing list