diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-09-15 01:04:32 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-09-15 01:04:32 (GMT) |
commit | 6b1220bf4bc16ddf331ce76c72b52274988902ea (patch) | |
tree | 9f6cb7d126769968573a10e7147576d90976e280 /src/declarative/fx/qfxtextedit.cpp | |
parent | df394cd24e65dcfa929074b794878081a42659c7 (diff) | |
download | Qt-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.cpp | 1 |
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())); |