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:
parent
f5744fa224
commit
c395d6e66c
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue