[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Questions about models in NotificationDelegate.qml
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2013-09-03 21:00:06
Message-ID: 201309032300.07464.christoph () maxiom ! de
[Download RAW message or body]

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
> other words, when e.g. the timer fires delayed, and another item
> has been added or removed in the meantime, is the index updated
> accordingly? Or worse, if the item has been removed for other
> reasons, is the timer/animation automatically cancelled so that
> remove() is not called again?
> 
> Christoph Feck (kdepepo)

Anyone? :)
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic