diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-07-22 18:27:29 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2009-07-29 03:41:56 (GMT) |
commit | c2cfe5c403f379b3196416960880ade859b7e509 (patch) | |
tree | 754ab9e38b93646dcfe035ec4e143e6d8c7c55be /src/declarative/fx/qfxtextedit.cpp | |
parent | 28a72e09be58628e6f30c6bd345ff1fe63a117a4 (diff) | |
download | Qt-c2cfe5c403f379b3196416960880ade859b7e509.zip Qt-c2cfe5c403f379b3196416960880ade859b7e509.tar.gz Qt-c2cfe5c403f379b3196416960880ade859b7e509.tar.bz2 |
remove itemParent() and related.
Consistently use parentItem() as it is consistent with
the naming in QGraphicsItem.
Diffstat (limited to 'src/declarative/fx/qfxtextedit.cpp')
-rw-r--r-- | src/declarative/fx/qfxtextedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxtextedit.cpp b/src/declarative/fx/qfxtextedit.cpp index fbb2d53..abad7fc 100644 --- a/src/declarative/fx/qfxtextedit.cpp +++ b/src/declarative/fx/qfxtextedit.cpp @@ -531,7 +531,7 @@ void QFxTextEdit::loadCursorDelegate() this, SLOT(moveCursorDelegate())); d->control->setCursorWidth(0); dirtyCache(cursorRect()); - d->cursor->setItemParent(this); + d->cursor->setParentItem(this); d->cursor->setHeight(QFontMetrics(d->font.font()).height()); moveCursorDelegate(); }else{ |