Fix crashes in QAccessibleTree::navigate
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Fri, 13 Apr 2012 13:30:52 +0000 (15:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Apr 2012 17:36:51 +0000 (19:36 +0200)
commit8f0b5470a96b342faa96ebe133dce5dc679f13b7
tree632945321388bb1806ff8377433022c30c130607
parent282951bc6c7ddb607fb7ebf61eb8de9acf3da77f
Fix crashes in QAccessibleTree::navigate

It's a best practice to return 0 when the iface is
invalid.

Change-Id: I6dd70b53b975b10b75c246e6f8f7681da2bcb785
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
src/plugins/accessible/widgets/itemviews.cpp