diff options
author | Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 2016-03-22 13:28:33 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 2016-03-22 13:06:18 +0000 |
commit | bf17e30c8e98b311cdee397f1272e70863247ebc (patch) | |
tree | e0f1418a070fb8cff757249e9522882c7881d3de | |
parent | bf60b1636db7c1c4c0ab9d188783991ecd30b7b1 (diff) | |
download | qtbase-bf17e30c8e98b311cdee397f1272e70863247ebc.tar.gz |
QApplication: remove unused static qt_tabletChokeMouse
It was only set, never tested, not exported, and the name is awful.
Change-Id: Ie6a783341984a11139b1481e94af09cb7d1bb9b8
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r-- | src/widgets/kernel/qapplication.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 2e68c7888f..141f15637c 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -436,8 +436,6 @@ Qt::NavigationMode QApplicationPrivate::navigationMode = Qt::NavigationModeKeypa QWidget *QApplicationPrivate::oldEditFocus = 0; #endif -bool qt_tabletChokeMouse = false; - inline bool QApplicationPrivate::isAlien(QWidget *widget) { return widget && !widget->isWindow(); @@ -3459,7 +3457,6 @@ bool QApplication::notify(QObject *receiver, QEvent *e) w = w->parentWidget(); } tablet->setAccepted(eventAccepted); - qt_tabletChokeMouse = tablet->isAccepted(); } break; #endif // QT_NO_TABLETEVENT |