Commit 742e0b28 authored by Thomas Lübking's avatar Thomas Lübking
Browse files

fix mouse button order

X counts the middle button as 2 and right as 3, Qt as 4 and 2 resp. the flags
... we shall at least match our GUI ;-)

BUG: 314756
FIXED-IN: 4.10.1
REVIEW: 108883
parent 16badf84
......@@ -55,8 +55,8 @@ MouseClickEffect::MouseClickEffect()
reconfigure(ReconfigureAll);
m_buttons[0] = new MouseButton(i18n("Left"), Qt::LeftButton);
m_buttons[1] = new MouseButton(i18n("Right"), Qt::RightButton);
m_buttons[2] = new MouseButton(i18n("Middle"), Qt::MiddleButton);
m_buttons[1] = new MouseButton(i18n("Middle"), Qt::MiddleButton);
m_buttons[2] = new MouseButton(i18n("Right"), Qt::RightButton);
}
MouseClickEffect::~MouseClickEffect()
......
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