Do not assert on invalid model index.
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Thu, 8 Dec 2011 12:16:22 +0000 (13:16 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 9 Dec 2011 09:17:55 +0000 (10:17 +0100)
commit6651e4fae3ee7d4c304ce67d32b211d691d32556
tree5a01dd0785ba8964b5610cfd28159d7d5c4a7622
parent12dffdae75996d154ba004d9515d4bf3ff4112c8
Do not assert on invalid model index.

No need to crash here, just warn.
This will happen when asking a table for out of range indexes.

Change-Id: Ida83604bd587390a3b54fbed68f98dab8038c757
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/accessible/widgets/itemviews.cpp