[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Questions about models in NotificationDelegate.qml
From: Christoph Feck <christoph () maxiom ! de>
Date: 2013-08-27 11:57:00
Message-ID: 201308271357.00488.christoph () maxiom ! de
[Download RAW message or body]
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)
_______________________________________________
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