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
e36e5efab8
commit
b233288439
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ MouseClickEffect::MouseClickEffect()
|
||||||
reconfigure(ReconfigureAll);
|
reconfigure(ReconfigureAll);
|
||||||
|
|
||||||
m_buttons[0] = new MouseButton(i18n("Left"), Qt::LeftButton);
|
m_buttons[0] = new MouseButton(i18n("Left"), Qt::LeftButton);
|
||||||
m_buttons[1] = new MouseButton(i18n("Right"), Qt::RightButton);
|
m_buttons[1] = new MouseButton(i18n("Middle"), Qt::MiddleButton);
|
||||||
m_buttons[2] = new MouseButton(i18n("Middle"), Qt::MiddleButton);
|
m_buttons[2] = new MouseButton(i18n("Right"), Qt::RightButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseClickEffect::~MouseClickEffect()
|
MouseClickEffect::~MouseClickEffect()
|
||||||
|
|
Loading…
Reference in a new issue