D14975: Don't use obsolete QRectF functions

2018-08-21 Thread Damien Caliste
dcaliste updated this revision to Diff 40152. dcaliste added a comment. I've added replacements for QAbstractItemModel::reset(). This allow to "lock" the model during the reset. So I've tried to put the beginResetModel() before the change of the private members, and the endResetModel() after.

D14975: Don't use obsolete QRectF functions

2018-08-21 Thread Anthony Fieroni
anthonyfieroni added reviewers: danders, Calligra: 3.0. REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D14975 To: dcaliste, leinir, danders, #calligra:_3.0 Cc: anthonyfieroni, Calligra-Devel-list, cochise, vandenoever

D14975: Don't use obsolete QRectF functions

2018-08-21 Thread Damien Caliste
dcaliste added a comment. @anthonyfieroni Ok, will update the diff with other replacements of obsolete functions. REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D14975 To: dcaliste, leinir Cc: anthonyfieroni, Calligra-Devel-list, cochise, vandenoever

D14975: Don't use obsolete QRectF functions

2018-08-21 Thread Anthony Fieroni
anthonyfieroni added a comment. You can make them at once, if there is no functionality changes. REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D14975 To: dcaliste, leinir Cc: anthonyfieroni, Calligra-Devel-list, cochise, vandenoever

D14975: Don't use obsolete QRectF functions

2018-08-21 Thread Damien Caliste
dcaliste created this revision. dcaliste added a reviewer: leinir. Herald added a project: Calligra: 3.0. Herald added a subscriber: Calligra-Devel-list. dcaliste requested review of this revision. REVISION SUMMARY Change deprecated function calls to QRectF::intersect() for QRectF::intersected(