summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxlineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxlineedit.cpp')
-rw-r--r--src/declarative/fx/qfxlineedit.cpp2
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());
}