From a53133f18cb123f390ca0b33e3ff9490fdb85b8d Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Fri, 4 Dec 2009 10:09:30 +1000 Subject: Fix count change notification. --- src/declarative/util/qmllistmodel.cpp | 1 + 1 file changed, 1 insertion(+) 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); } /*! -- cgit v0.12