summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-26 04:11:58 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-26 04:11:58 (GMT)
commit58a76965e20c4c66ab2dc9cf73aa72b1cfddfbeb (patch)
treead2ef3e55b619bb92c3feee06685423e6ebc66fa
parentd630c627ed1dfbcfb48f907d2d37048b049830a5 (diff)
downloadQt-58a76965e20c4c66ab2dc9cf73aa72b1cfddfbeb.zip
Qt-58a76965e20c4c66ab2dc9cf73aa72b1cfddfbeb.tar.gz
Qt-58a76965e20c4c66ab2dc9cf73aa72b1cfddfbeb.tar.bz2
ListView.view and GridView.view properties should not be writable.
Task-number: QTBUG-13166
-rw-r--r--src/declarative/graphicsitems/qdeclarativegridview_p.h2
-rw-r--r--src/declarative/graphicsitems/qdeclarativelistview_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview_p.h b/src/declarative/graphicsitems/qdeclarativegridview_p.h
index fdb6f94..ee632b1 100644
--- a/src/declarative/graphicsitems/qdeclarativegridview_p.h
+++ b/src/declarative/graphicsitems/qdeclarativegridview_p.h
@@ -221,7 +221,7 @@ public:
: QObject(parent), m_view(0), m_isCurrent(false), m_delayRemove(false) {}
~QDeclarativeGridViewAttached() {}
- Q_PROPERTY(QDeclarativeGridView *view READ view WRITE setView NOTIFY viewChanged)
+ Q_PROPERTY(QDeclarativeGridView *view READ view NOTIFY viewChanged)
QDeclarativeGridView *view() { return m_view; }
void setView(QDeclarativeGridView *view) {
if (view != m_view) {
diff --git a/src/declarative/graphicsitems/qdeclarativelistview_p.h b/src/declarative/graphicsitems/qdeclarativelistview_p.h
index 14925d7..8fbff49 100644
--- a/src/declarative/graphicsitems/qdeclarativelistview_p.h
+++ b/src/declarative/graphicsitems/qdeclarativelistview_p.h
@@ -269,7 +269,7 @@ public:
: QObject(parent), m_view(0), m_isCurrent(false), m_delayRemove(false) {}
~QDeclarativeListViewAttached() {}
- Q_PROPERTY(QDeclarativeListView *view READ view WRITE setView NOTIFY viewChanged)
+ Q_PROPERTY(QDeclarativeListView *view READ view NOTIFY viewChanged)
QDeclarativeListView *view() { return m_view; }
void setView(QDeclarativeListView *view) {
if (view != m_view) {