Do not assert when closing dialogs
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Fri, 13 Apr 2012 09:22:14 +0000 (12:22 +0300)
committerJørgen Lind <jorgen.lind@nokia.com>
Tue, 17 Apr 2012 11:09:16 +0000 (13:09 +0200)
commit6ec82c38f0ed751d2e7c67c0732d2d5c043c4a84
tree7c3be4666c17c3da955ffe97879a68b4b6da79f1
parent801b800cd2baffa9d3080ec3184ffd1af6b9bde8
Do not assert when closing dialogs

The leave event may arrive after the window is gone, resulting in a
null surface. The callback should do nothing in this case.

Change-Id: I36ec4cb1615f518de57b7de98206cdb8986405e4
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/wayland/qwaylandinputdevice.cpp