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
icc-effect-5.14.5
Thomas Lübking 2013-02-10 07:05:08 +01:00
parent f5744fa224
commit c395d6e66c
1 changed files with 2 additions and 2 deletions

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