summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtext.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-30 01:18:06 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-30 01:18:06 (GMT)
commit74464120794c2f41c5c6d8d9b34b4de2d1c3635c (patch)
tree76949ceff41c07d976b32e8c4b1cbf0561c73461 /src/declarative/fx/qfxtext.cpp
parentf38b9107f95fc71ae53d43678dd1163719f64631 (diff)
downloadQt-74464120794c2f41c5c6d8d9b34b4de2d1c3635c.zip
Qt-74464120794c2f41c5c6d8d9b34b4de2d1c3635c.tar.gz
Qt-74464120794c2f41c5c6d8d9b34b4de2d1c3635c.tar.bz2
More QFxItem cleanup.
Diffstat (limited to 'src/declarative/fx/qfxtext.cpp')
-rw-r--r--src/declarative/fx/qfxtext.cpp4
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()