mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
deviceType doesn't exist in Qt5 apparently
This commit is contained in:
parent
6d2ad2a3f0
commit
71f4d7b222
@ -302,7 +302,7 @@ void ScreenPanel::tabletEvent(QTabletEvent* event)
|
||||
|
||||
void ScreenPanel::touchEvent(QTouchEvent* event)
|
||||
{
|
||||
if (event->deviceType() == QInputDevice::DeviceType::TouchPad)
|
||||
if (event->device()->type() == QInputDevice::DeviceType::TouchPad)
|
||||
return;
|
||||
|
||||
event->accept();
|
||||
|
Loading…
Reference in New Issue
Block a user