Commit 445c7581 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port away from deprecated Qt::MidButton

parent 022c660d
...@@ -161,7 +161,7 @@ X11LibinputDummyDevice::X11LibinputDummyDevice(QObject *parent, Display *dpy) ...@@ -161,7 +161,7 @@ X11LibinputDummyDevice::X11LibinputDummyDevice(QObject *parent, Display *dpy)
m_supportsDisableEvents.val = false; m_supportsDisableEvents.val = false;
m_enabled.val = true; m_enabled.val = true;
m_supportedButtons.val = Qt::LeftButton | Qt::MidButton | Qt::RightButton; m_supportedButtons.val = Qt::LeftButton | Qt::MiddleButton | Qt::RightButton;
m_supportsLeftHanded.val = true; m_supportsLeftHanded.val = true;
m_supportsMiddleEmulation.val = true; m_supportsMiddleEmulation.val = true;
m_middleEmulationEnabledByDefault.val = false; m_middleEmulationEnabledByDefault.val = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment