D11807: AbstractModel: Check if index is valid in setData

2018-03-31 Thread David Rosca
This revision was automatically updated to reflect the committed changes. Closed by commit R115:0284a425f3db: AbstractModel: Check if index is valid in setData (authored by drosca). REPOSITORY R115 Plasma Audio Volume Applet CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D11807?vs=309

D11807: AbstractModel: Check if index is valid in setData

2018-03-30 Thread David Rosca
drosca created this revision. drosca added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. drosca requested review of this revision. REVISION SUMMARY It would crash in MapBase::objectAt if the index is not valid becau