Do not crash in new gesture areas when getting a wheel event
Newly constructed gesture areas lacked a null check for m_map. Thus
sending a wheel event results in a crash. This is visible with the
mapviewer example when attempting to change the provider but failing due
to not having the necessary keys specified.
Change-Id: I5983de284f528d4a682b5b239e807e0748bcd740
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
| commit | 116b41eed67ca923ca205d2c7aa0776b0eaa1a4e |
| parent | a99b8ced41b2c634598ce70fe69036a0ed34e9ba |
| author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> |
| committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> |
| commit time | Thu, 17 Sep 2015 17:47:49 +0000 |