summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxrepeater.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-04-28 04:32:28 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-04-28 04:32:28 (GMT)
commita6ffd7c7c28066f2794579bc40e7b9517e76d1ff (patch)
tree1188f96a9c6e49c71c02f1ee0aab71a443f9a232 /src/declarative/fx/qfxrepeater.h
parentc8daf2ac917a90a54db780e8844a770a2cd0b464 (diff)
downloadQt-a6ffd7c7c28066f2794579bc40e7b9517e76d1ff.zip
Qt-a6ffd7c7c28066f2794579bc40e7b9517e76d1ff.tar.gz
Qt-a6ffd7c7c28066f2794579bc40e7b9517e76d1ff.tar.bz2
Delay Repeater item construction until component completion
The engine can crash if objects with bindings or parser status's are created and destroyed before a component complete. This works around this limitation, that should ideally be fixed in the engine.
Diffstat (limited to 'src/declarative/fx/qfxrepeater.h')
-rw-r--r--src/declarative/fx/qfxrepeater.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxrepeater.h b/src/declarative/fx/qfxrepeater.h
index f6c4584..8efd281 100644
--- a/src/declarative/fx/qfxrepeater.h
+++ b/src/declarative/fx/qfxrepeater.h
@@ -72,6 +72,7 @@ private:
void regenerate();
protected:
+ virtual void componentComplete();
virtual void parentChanged(QSimpleCanvasItem *, QSimpleCanvasItem *);
QFxRepeater(QFxRepeaterPrivate &dd, QFxItem *parent);