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
This commit is contained in:
Thomas Lübking 2013-02-10 07:05:08 +01:00
parent f5744fa224
commit c395d6e66c

View file

@ -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()