From 6b1220bf4bc16ddf331ce76c72b52274988902ea Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Tue, 15 Sep 2009 11:04:32 +1000 Subject: Fix double-deletion bug with QFxTextEdit's cursor delegate QFxTextEdit autotests now pass --- src/declarative/fx/qfxtextedit.cpp | 1 - 1 file changed, 1 deletion(-) 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())); -- cgit v0.12