AbstractModel: Check if index is valid in setData

Authored by drosca on Mar 30 2018, 2:13 PM.

Description

AbstractModel: Check if index is valid in setData

It would otherwise crash in MapBase::objectAt because
it doesn't check the map bounds.

Differential Revision: https://phabricator.kde.org/D11807

Details

Committed
droscaMar 31 2018, 8:12 AM
Differential Revision
D11807: AbstractModel: Check if index is valid in setData
Parents
R115:55ceba68464d: Update version number for 5.12.4 GIT_SILENT
Branches
Unknown
Tags
Unknown