Re: Questions about models in NotificationDelegate.qml

2013-09-04 Thread Christoph Feck
On Wednesday 04 September 2013 00:17:37 Marco Martin wrote: > On Tuesday 27 August 2013, Christoph Feck wrote: > > Hi, > > > > Looking at the NotificationDelegate.qml file, I see several lines > > that say "notificationsModel.remove(index)", fired from timers, > > running animations etc. > > > >

Re: Questions about models in NotificationDelegate.qml

2013-09-03 Thread Marco Martin
On Tuesday 27 August 2013, Christoph Feck wrote: > Hi, > > Looking at the NotificationDelegate.qml file, I see several lines that > say "notificationsModel.remove(index)", fired from timers, running > animations etc. > > Do QML models automatically make sure the index is still valid, in > other w

Re: Questions about models in NotificationDelegate.qml

2013-09-03 Thread Christoph Feck
On Tuesday 27 August 2013 13:57:00 Christoph Feck wrote: > Hi, > > Looking at the NotificationDelegate.qml file, I see several lines > that say "notificationsModel.remove(index)", fired from timers, > running animations etc. > > Do QML models automatically make sure the index is still valid, in >

Questions about models in NotificationDelegate.qml

2013-08-27 Thread Christoph Feck
Hi, Looking at the NotificationDelegate.qml file, I see several lines that say "notificationsModel.remove(index)", fired from timers, running animations etc. Do QML models automatically make sure the index is still valid, in other words, when e.g. the timer fires delayed, and another item has