diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-07-30 01:18:06 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-07-30 01:18:06 (GMT) |
commit | 74464120794c2f41c5c6d8d9b34b4de2d1c3635c (patch) | |
tree | 76949ceff41c07d976b32e8c4b1cbf0561c73461 /src/declarative/fx/qfxtextedit.cpp | |
parent | f38b9107f95fc71ae53d43678dd1163719f64631 (diff) | |
download | Qt-74464120794c2f41c5c6d8d9b34b4de2d1c3635c.zip Qt-74464120794c2f41c5c6d8d9b34b4de2d1c3635c.tar.gz Qt-74464120794c2f41c5c6d8d9b34b4de2d1c3635c.tar.bz2 |
More QFxItem cleanup.
Diffstat (limited to 'src/declarative/fx/qfxtextedit.cpp')
-rw-r--r-- | src/declarative/fx/qfxtextedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxtextedit.cpp b/src/declarative/fx/qfxtextedit.cpp index abad7fc..b632268 100644 --- a/src/declarative/fx/qfxtextedit.cpp +++ b/src/declarative/fx/qfxtextedit.cpp @@ -1016,8 +1016,8 @@ void QFxTextEditPrivate::init() q->setSmooth(true); q->setAcceptedMouseButtons(Qt::LeftButton); - q->setOptions(QFxTextEdit::AcceptsInputMethods | QFxTextEdit::SimpleItem - | QFxTextEdit::HasContents | QFxTextEdit::MouseEvents); + q->setFlag(QGraphicsItem::ItemHasNoContents, false); + q->setFlag(QGraphicsItem::ItemAcceptsInputMethod); QObject::connect(&font, SIGNAL(updated()), q, SLOT(fontChanged())); |