Make xcb plugin compile with -no-feature-tabletevent
fixed1616ToReal() is used for touch and scroll events too, not just tablet. Task-number: QTBUG-82168 Change-Id: Idcdd6365b5619824b41c1278e5dc5ffb81c400f8 Reviewed-by: Andy Shaw <andy.shaw@qt.io>bb10
parent
f79efbc867
commit
aeff4b70c5
|
|
@ -514,12 +514,10 @@ QXcbConnection::TouchDeviceData *QXcbConnection::populateTouchDevices(void *info
|
|||
return isTouchDevice ? &m_touchDevices[deviceinfo->deviceid] : nullptr;
|
||||
}
|
||||
|
||||
#if QT_CONFIG(tabletevent)
|
||||
static inline qreal fixed1616ToReal(xcb_input_fp1616_t val)
|
||||
{
|
||||
return qreal(val) / 0x10000;
|
||||
}
|
||||
#endif // QT_CONFIG(tabletevent)
|
||||
|
||||
void QXcbConnection::xi2HandleEvent(xcb_ge_event_t *event)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue