diff options
author | Stephan Binner <stephan.binner@basyskom.com> | 2017-04-03 19:41:55 +0200 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-04-04 13:12:15 +0000 |
commit | 21abfc810128f30101d02792a34db87b4f25d4ce (patch) | |
tree | bcba78b71a5248781d5dbd09b6105a7453433cf7 /src/gui/kernel | |
parent | 4fda233ad7bf5a3a820f5b84dba74f05bae01f03 (diff) |
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>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index b665750181..a3b2c4c1e4 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -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 */ } |