Fix crash when no items available and DataChanged is called.
Added check to do nothing if no items available to avoid crash.
Task-number: QTBUG-52174
Change-Id: Ibe870480b24129733b051c4b2b172b554a3c9602
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| commit | 608acd2415390390ae0ee7daaca57a1d91ad371c |
| parent | f40e92b147560be15e0f53dfd7f6b2d698c00fb9 |
| author | Marko Kangas <marko.kangas@theqtcompany.com> |
| committer | Marko Kangas <marko.kangas@theqtcompany.com> |
| commit time | Wed, 6 Apr 2016 06:28:23 +0000 |