mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
deviceType doesn't exist in Qt5 apparently
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user