diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-10 06:02:56 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-10 06:02:56 (GMT) |
commit | 5f10fa564830cbfb79061c6108098c7e133b79aa (patch) | |
tree | 13f28695714c3f1bee5b2dd0a708328b44497018 /src/declarative/graphicsitems/qdeclarativelistview_p.h | |
parent | 858e01e954ac9f3203ada6b61b47c418cc4b0a82 (diff) | |
download | Qt-5f10fa564830cbfb79061c6108098c7e133b79aa.zip Qt-5f10fa564830cbfb79061c6108098c7e133b79aa.tar.gz Qt-5f10fa564830cbfb79061c6108098c7e133b79aa.tar.bz2 |
Schedule view relayout after itemsInserted/Removed()
So that they handle model changes involving multiple insertion
and deletion without entering the event loop.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativelistview_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativelistview_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativelistview_p.h b/src/declarative/graphicsitems/qdeclarativelistview_p.h index d66ac2b..1bf9652 100644 --- a/src/declarative/graphicsitems/qdeclarativelistview_p.h +++ b/src/declarative/graphicsitems/qdeclarativelistview_p.h @@ -219,6 +219,7 @@ Q_SIGNALS: void footerChanged(); protected: + virtual bool event(QEvent *event); virtual void viewportMoved(); virtual qreal minYExtent() const; virtual qreal maxYExtent() const; |