From c83ae88faf5b28872cb4bda92e9dddf22b989265 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 27 Mar 2020 16:10:09 +0000 Subject: [PATCH] Remove QTabletEvent::PointerType::XFreeEraser This is an artifact of pre-Qt 5 Wacom driver implementation, hasn't been in use during the Qt 5 series, but was kept for source compatibility with very old sources. Let's hope the usages are all gone by now. Change-Id: I39dc36699510ea5e51cacd369470264fd8a27b37 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qevent.cpp | 1 - src/gui/kernel/qevent.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 8b9fab36c2..1716cbc557 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -2291,7 +2291,6 @@ QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const \value FourDMouse A 4D Mouse. \value RotationStylus A special stylus that also knows about rotation (a 6D stylus). \since 4.1 - \omitvalue XFreeEraser */ /*! diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index 984deb54f5..8a4acec257 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -271,8 +271,7 @@ class Q_GUI_EXPORT QTabletEvent : public QInputEvent { Q_GADGET public: - enum TabletDevice { NoDevice, Puck, Stylus, Airbrush, FourDMouse, - XFreeEraser /*internal*/, RotationStylus }; + enum TabletDevice { NoDevice, Puck, Stylus, Airbrush, FourDMouse, RotationStylus }; Q_ENUM(TabletDevice) enum PointerType { UnknownPointer, Pen, Cursor, Eraser }; Q_ENUM(PointerType)