diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-02-09 08:21:30 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-02-09 08:21:30 (GMT) |
commit | 6129a16a74620916d3e8bff29a3788374ca21c94 (patch) | |
tree | 7f9960f986e822c897c6230c4a18f6b717ed7106 /src/declarative/graphicsitems/qdeclarativegridview.cpp | |
parent | 3ebbb660d6f0c29b438f49dc8187b1b353ee1b8a (diff) | |
parent | 1759f7d688903210a142d7f93a6d173c52995d2f (diff) | |
download | Qt-6129a16a74620916d3e8bff29a3788374ca21c94.zip Qt-6129a16a74620916d3e8bff29a3788374ca21c94.tar.gz Qt-6129a16a74620916d3e8bff29a3788374ca21c94.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Conflicts:
tests/auto/declarative/qdeclarativemoduleplugin/qdeclarativemoduleplugin.pro
Change-Id: I8da521f05ebc266d91caa582852155b571d5cc63
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativegridview.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativegridview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp index f4f7d29..7e7889c 100644 --- a/src/declarative/graphicsitems/qdeclarativegridview.cpp +++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp @@ -331,8 +331,10 @@ public: } } } else if ((header && header->item == item) || (footer && footer->item == item)) { - updateHeader(); - updateFooter(); + if (header) + updateHeader(); + if (footer) + updateFooter(); } } |