[Development] QML: onCountChanged in ListModel and ListView

Sandro Andrade sandroandrade at kde.org
Fri Nov 25 14:12:10 CET 2011


Thanks Bea,
--
Sandro

On Fri, Nov 25, 2011 at 3:58 AM,  <bea.lam at nokia.com> wrote:
>
> On 24/11/2011, at 11:39 PM, ext Sandro Andrade wrote:
>
>> Hi there,
>>
>> Any idea why ListView { onCountChanged: ... } works fine while
>> ListModel { onCountChanged: ... } gives me a "undefined property
>> 'onCountChanged'" ?
>> Both qdeclarativelistview_p.h and qdeclarativexmllistmodel_p.h have
>> count property with NOTIFY signal.
>
> This is due to the bug https://bugreports.qt.nokia.com/browse/QTBUG-19763 in ListModel, which has been fixed for QtQuick 2.0.
>
> cheers,
>
> Bea



More information about the Development mailing list