summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtextedit.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-09-15 01:04:32 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-09-15 01:04:32 (GMT)
commit6b1220bf4bc16ddf331ce76c72b52274988902ea (patch)
tree9f6cb7d126769968573a10e7147576d90976e280 /src/declarative/fx/qfxtextedit.cpp
parentdf394cd24e65dcfa929074b794878081a42659c7 (diff)
downloadQt-6b1220bf4bc16ddf331ce76c72b52274988902ea.zip
Qt-6b1220bf4bc16ddf331ce76c72b52274988902ea.tar.gz
Qt-6b1220bf4bc16ddf331ce76c72b52274988902ea.tar.bz2
Fix double-deletion bug with QFxTextEdit's cursor delegate
QFxTextEdit autotests now pass
Diffstat (limited to 'src/declarative/fx/qfxtextedit.cpp')
-rw-r--r--src/declarative/fx/qfxtextedit.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxtextedit.cpp b/src/declarative/fx/qfxtextedit.cpp
index 72f12cc..c106ee0 100644
--- a/src/declarative/fx/qfxtextedit.cpp
+++ b/src/declarative/fx/qfxtextedit.cpp
@@ -455,7 +455,6 @@ void QFxTextEdit::setCursorDelegate(QmlComponent* c)
{
Q_D(QFxTextEdit);
if(d->cursorComponent){
- delete d->cursorComponent;
if(d->cursor){
disconnect(d->control, SIGNAL(cursorPositionChanged()),
this, SLOT(moveCursorDelegate()));