Fix EnginioModel::setData
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>
Thu, 7 Nov 2013 16:04:42 +0000 (16:04 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 18 Nov 2013 15:27:57 +0000 (16:27 +0100)
commitea61e04a41f22638aef36f0aa0b51a8121a47f1d
tree633cd7d3e80872751e076da9ce7a641eaba7662b
parent380cfc951baa3c0405bd32cdefdd3300619d2c32
Fix EnginioModel::setData

The code was not checking for rows indexes smaller then 0.

Change-Id: I39d4fad06809977e3cec0f7b7dc85f3814c0dcfa
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/enginio_client/enginiomodel.cpp
tests/auto/enginiomodel/tst_enginiomodel.cpp