Fix warning for -no-feature-wheelevent
Change-Id: Ibf240228100bbc7cd8a85e49abc9dbff026e5433 Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>bb10
parent
4fda233ad7
commit
21abfc8101
|
|
@ -2008,6 +2008,8 @@ void QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::Wh
|
|||
buttons, e->modifiers, e->phase, e->source, e->inverted);
|
||||
ev.setTimestamp(e->timestamp);
|
||||
QGuiApplication::sendSpontaneousEvent(window, &ev);
|
||||
#else
|
||||
Q_UNUSED(e);
|
||||
#endif /* ifndef QT_NO_WHEELEVENT */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue