Re: [Development] The rowsAboutToBeRemoved signal in ListModel

2014-05-26 Thread Ben Lau
Reported: [#QTBUG-39279] ListModel : rowsAboutToBeRemoved is emitted after the row's removal - Qt Bug Tracker On 23 May 2014 19:30, Kuba Ober wrote: > On May 16, 2014, at

Re: [Development] The rowsAboutToBeRemoved signal in ListModel

2014-05-23 Thread Kuba Ober
On May 16, 2014, at 3:33 AM, Jędrzej Nowacki wrote: > On Friday 16 of May 2014 12:33:49 Ben Lau wrote: >> Why? Is there any special reason to implement in this order? or it is a bug? > > It look like a bug. It *is* a bug. No doubt about it. Cheers, Kuba

Re: [Development] The rowsAboutToBeRemoved signal in ListModel

2014-05-16 Thread Jędrzej Nowacki
On Friday 16 of May 2014 12:33:49 Ben Lau wrote: > Why? Is there any special reason to implement in this order? or it is a bug? It look like a bug. Cheers, Jędrek ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mail

[Development] The rowsAboutToBeRemoved signal in ListModel

2014-05-15 Thread Ben Lau
Hi all, If I understand correctly , the rowsAboutToBeRemoved signal of QAbstactItemModel should be emitted before the rows are actually removed. So the row should be still accessible when you got the signal. However, I found that implementation of ListModel (QQmlListModel) does not follow the rul