From kde-panel-devel Tue Aug 27 11:57:00 2013 From: Christoph Feck Date: Tue, 27 Aug 2013 11:57:00 +0000 To: kde-panel-devel Subject: Questions about models in NotificationDelegate.qml Message-Id: <201308271357.00488.christoph () maxiom ! de> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=137760471507386 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