diff options
Diffstat (limited to 'src/declarative/fx/qfxtext.cpp')
-rw-r--r-- | src/declarative/fx/qfxtext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxtext.cpp b/src/declarative/fx/qfxtext.cpp index e0692e9..cb8af40 100644 --- a/src/declarative/fx/qfxtext.cpp +++ b/src/declarative/fx/qfxtext.cpp @@ -110,7 +110,7 @@ QFxText::QFxText(QFxItem *parent) Q_D(QFxText); d->init(); setAcceptedMouseButtons(Qt::LeftButton); - setOptions(SimpleItem | HasContents | QFxText::MouseEvents); + setFlag(QGraphicsItem::ItemHasNoContents, false); } QFxText::QFxText(QFxTextPrivate &dd, QFxItem *parent) @@ -119,7 +119,7 @@ QFxText::QFxText(QFxTextPrivate &dd, QFxItem *parent) Q_D(QFxText); d->init(); setAcceptedMouseButtons(Qt::LeftButton); - setOptions(SimpleItem | HasContents | QFxText::MouseEvents); + setFlag(QGraphicsItem::ItemHasNoContents, false); } QFxText::~QFxText() |