Deliver wheel events when window is null
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Tue, 12 Jun 2012 17:59:27 +0000 (10:59 -0700)
committerQt by Nokia <qt-info@nokia.com>
Thu, 14 Jun 2012 01:03:38 +0000 (03:03 +0200)
commit7020c2fe2a9891eeb661bcd42e8172cc80ff3bd8
tree19c69c0d7950a49eb67de171042870580a4cffbb
parent4618bc3ea0c84762683d99b07c5e56792d2bb0e7
Deliver wheel events when window is null

The generic input plugins do not set the window parameter. So,
use the same technique we use with mouse event handling to determine
the window to deliver the event to.

Done-with: Johannes Zellner

Change-Id: I950c0ad2f330dccfdcc41b8d01f62cd39902bc9c
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/gui/kernel/qguiapplication.cpp