diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-07-31 05:52:03 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-07-31 05:52:03 (GMT) |
commit | ff5ebbf9f99e9b489dba7e98814ddfdccf2cf71c (patch) | |
tree | fbbc3224caa385f2e1614efad1ade0bdc26093b1 /src/declarative/fx/qfxgridview.cpp | |
parent | fc5af680d26aba684f4cbd4caa0440aabc3153d4 (diff) | |
download | Qt-ff5ebbf9f99e9b489dba7e98814ddfdccf2cf71c.zip Qt-ff5ebbf9f99e9b489dba7e98814ddfdccf2cf71c.tar.gz Qt-ff5ebbf9f99e9b489dba7e98814ddfdccf2cf71c.tar.bz2 |
Get rid of QFxItem::options.
They can all be set directly with QGraphicsItem flags or functions.
Diffstat (limited to 'src/declarative/fx/qfxgridview.cpp')
-rw-r--r-- | src/declarative/fx/qfxgridview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxgridview.cpp b/src/declarative/fx/qfxgridview.cpp index 8df6f2a..eb85c20 100644 --- a/src/declarative/fx/qfxgridview.cpp +++ b/src/declarative/fx/qfxgridview.cpp @@ -325,7 +325,7 @@ public: void QFxGridViewPrivate::init() { Q_Q(QFxGridView); - q->setOptions(QFxGridView::IsFocusRealm); + q->setFlag(QGraphicsItem::ItemAutoDetectsFocusProxy); QObject::connect(q, SIGNAL(widthChanged()), q, SLOT(sizeChange())); QObject::connect(q, SIGNAL(heightChanged()), q, SLOT(sizeChange())); } |