Remove deprecation tags from QWheelEvent.
0df1c9f1
enabled deprecation warnings from Qt,
causing warnings from QWheelEvent use.
Using delta() and orientation() in new code is still
not advised, but since QtWidgets uses them the
"deprecated" tag is not suitable.
Change-Id: I597e8ddf9fd2dc911d0e30044e96df744982ff81
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
parent
4a2942085a
commit
1d72e3fbdf
@ -158,10 +158,8 @@ public:
|
||||
inline QPoint pixelDelta() const { return pixelD; }
|
||||
inline QPoint angleDelta() const { return angleD; }
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
inline QT_DEPRECATED int delta() const { return qt4D; }
|
||||
inline QT_DEPRECATED Qt::Orientation orientation() const { return qt4O; }
|
||||
#endif
|
||||
inline int delta() const { return qt4D; }
|
||||
inline Qt::Orientation orientation() const { return qt4O; }
|
||||
|
||||
#ifndef QT_NO_INTEGER_EVENT_COORDINATES
|
||||
inline QPoint pos() const { return p.toPoint(); }
|
||||
|
Loading…
Reference in New Issue
Block a user