aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorNils Jeisecke <jeisecke@saltation.de>2013-08-06 13:58:15 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-16 18:11:23 +0200
commit290dc6caf65aeecaceb5a67b55cb33f0b059f98a (patch)
treedb078f3a4e2c06a659500dd5b706015134eaca2f /dist
parent295b53059ddfd25e705e6c975195b6f424a89fae (diff)
Fix currentIndex in Qml itemView when assigning an empty model
When assigning an empty model to e.g. a ListView after component initialization has been completed, currentIndex is now correctly set to -1. Change-Id: I540c034944009ccb8894bf84f400658ef9f0371f Task-number: QTBUG-32838 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.1.225
1 files changed, 25 insertions, 0 deletions
diff --git a/dist/changes-5.1.2 b/dist/changes-5.1.2
new file mode 100644
index 0000000000..2ea62a4f6b
--- /dev/null
+++ b/dist/changes-5.1.2
@@ -0,0 +1,25 @@
+Qt 5.1.2 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.1.0 and 5.1.1.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+ http://qt-project.org/doc/qt-5.1/
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+ http://bugreports.qt-project.org/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+****************************************************************************
+* Important Behavior Changes *
+****************************************************************************
+
+ - QTBUG-32838: Setting the model property of ListView, GridView or PathView to
+ an empty model will now correctly reset currentIndex to -1. In prior versions
+ currentIndex was set to 0 regardless of the actual number of rows in the model
+ when the model property was changed after the view's initialization.
+