diff options
Diffstat (limited to 'src/declarative/fx/qfxlineedit.cpp')
-rw-r--r-- | src/declarative/fx/qfxlineedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxlineedit.cpp b/src/declarative/fx/qfxlineedit.cpp index 4ff3504..a185383 100644 --- a/src/declarative/fx/qfxlineedit.cpp +++ b/src/declarative/fx/qfxlineedit.cpp @@ -367,7 +367,7 @@ void QFxLineEdit::createCursor() return; } - d->cursorItem->setItemParent(this); + d->cursorItem->setParentItem(this); d->cursorItem->setX(d->control->cursorToX()); d->cursorItem->setHeight(d->control->height()); } |