summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-08-23 07:00:48 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-08-23 07:00:48 (GMT)
commit092cd760d5fddf9640a310214fe01929f0fff3a8 (patch)
tree2c8b8b0e6462981fc92011b384358ad9a28f3450 /tools/qdoc3
parentdd675dc4706dff26bf154686f158f6c252727bcc (diff)
parentc5f46907fbc0354aacc4bc4a6f5ab97c8b656d1a (diff)
downloadQt-092cd760d5fddf9640a310214fe01929f0fff3a8.zip
Qt-092cd760d5fddf9640a310214fe01929f0fff3a8.tar.gz
Qt-092cd760d5fddf9640a310214fe01929f0fff3a8.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integrationv4.7.4
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Fix problem with grabWindow on Mac OS X 10.6 with Cocoa don't crash when destroying children Fix compile issue with Mac OS X 10.5 Fix QPixmap::grabWindow() on Mac OS X Lion Update 4.7.4 changes
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/node.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 87bbd93..189c28f 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -555,7 +555,8 @@ void InnerNode::removeFromRelated()
*/
void InnerNode::deleteChildren()
{
- qDeleteAll(children);
+ NodeList childrenCopy = children; // `children` will be changed in ~Node()
+ qDeleteAll(childrenCopy);
}
/*!