diff options
author | Bea Lam <bea.lam@jollamobile.com> | 2012-12-12 19:15:07 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-08 05:57:01 +0100 |
commit | 31a4594a554fd98b18d61a023f6bb584a7fe506d (patch) | |
tree | 3399ca98027f9aea63bfe0c86d97bc6b4c5ef39d /doc/src/snippets/code/doc_src_qtscripttools.cpp | |
parent | 153781a14fac8c899fc92b144e14b13c0804bc0d (diff) | |
download | qt4-tools-31a4594a554fd98b18d61a023f6bb584a7fe506d.tar.gz |
Backport PathView currentIndex fixes from Qt 5
Backport 447e5acb880ebda498891623dc4009984cb73bc6 and
0fc361f96b06ba318e70610e46beb421753cae9d which fix bugs related
to currentIndex. The first commit ensures currentIndex=0 when all
items are removed; the second ensures that the initial currentIndex
value is respected and also resets the view correctly if the model
changes.
(Backport of Qt5 qtquick1 5d439d751267c64408bd27ab0e6548822146a35c)
Change-Id: I6bfd826c97524ed0d06a168bed7f5c321b02b4d3
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'doc/src/snippets/code/doc_src_qtscripttools.cpp')
0 files changed, 0 insertions, 0 deletions