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>
This commit is contained in:
parent
bf60b1636d
commit
bf17e30c8e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user