summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmllistmodel.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-12-04 00:09:30 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-12-04 00:09:30 (GMT)
commita53133f18cb123f390ca0b33e3ff9490fdb85b8d (patch)
tree492d1b86a8e4d3ff63afc53551d169168bd1133c /src/declarative/util/qmllistmodel.cpp
parent36713c9f1732f56903c5bfc8c153a2a3219337d1 (diff)
downloadQt-a53133f18cb123f390ca0b33e3ff9490fdb85b8d.zip
Qt-a53133f18cb123f390ca0b33e3ff9490fdb85b8d.tar.gz
Qt-a53133f18cb123f390ca0b33e3ff9490fdb85b8d.tar.bz2
Fix count change notification.
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r--src/declarative/util/qmllistmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index 2678de7..00c99f6 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -445,6 +445,7 @@ void QmlListModel::clear()
_root = 0;
roleStrings.clear();
emit itemsRemoved(0,cleared);
+ emit countChanged(0);
}
/*!