diff options
-rw-r--r-- | plugingui/button.cc | 3 | ||||
-rw-r--r-- | plugingui/checkbox.cc | 3 | ||||
-rw-r--r-- | plugingui/combobox.cc | 3 | ||||
-rw-r--r-- | plugingui/knob.cc | 3 | ||||
-rw-r--r-- | plugingui/lineedit.cc | 3 | ||||
-rw-r--r-- | plugingui/listboxbasic.cc | 3 | ||||
-rw-r--r-- | plugingui/scrollbar.cc | 3 | ||||
-rw-r--r-- | plugingui/slider.cc | 3 |
8 files changed, 16 insertions, 8 deletions
diff --git a/plugingui/button.cc b/plugingui/button.cc index 7c1e005..29d3deb 100644 --- a/plugingui/button.cc +++ b/plugingui/button.cc @@ -47,7 +47,8 @@ Button::~Button() void Button::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc index 4f71e54..bada623 100644 --- a/plugingui/checkbox.cc +++ b/plugingui/checkbox.cc @@ -42,7 +42,8 @@ CheckBox::CheckBox(Widget* parent) void CheckBox::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } diff --git a/plugingui/combobox.cc b/plugingui/combobox.cc index 5b7dd89..ffbde88 100644 --- a/plugingui/combobox.cc +++ b/plugingui/combobox.cc @@ -210,7 +210,8 @@ void ComboBox::keyEvent(KeyEvent* keyEvent) void ComboBox::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } diff --git a/plugingui/knob.cc b/plugingui/knob.cc index 4e7db3b..87779ec 100644 --- a/plugingui/knob.cc +++ b/plugingui/knob.cc @@ -125,7 +125,8 @@ void Knob::keyEvent(KeyEvent* keyEvent) void Knob::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc index 50d4a39..c213041 100644 --- a/plugingui/lineedit.cc +++ b/plugingui/lineedit.cc @@ -78,7 +78,8 @@ void LineEdit::buttonEvent(ButtonEvent *buttonEvent) } // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } diff --git a/plugingui/listboxbasic.cc b/plugingui/listboxbasic.cc index 3711b56..2e02301 100644 --- a/plugingui/listboxbasic.cc +++ b/plugingui/listboxbasic.cc @@ -283,7 +283,8 @@ void ListBoxBasic::keyEvent(KeyEvent* keyEvent) void ListBoxBasic::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } diff --git a/plugingui/scrollbar.cc b/plugingui/scrollbar.cc index 3f53f03..ac5be15 100644 --- a/plugingui/scrollbar.cc +++ b/plugingui/scrollbar.cc @@ -176,7 +176,8 @@ void ScrollBar::mouseMoveEvent(MouseMoveEvent* mouseMoveEvent) void ScrollBar::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } diff --git a/plugingui/slider.cc b/plugingui/slider.cc index 64a4b3f..7405a69 100644 --- a/plugingui/slider.cc +++ b/plugingui/slider.cc @@ -100,7 +100,8 @@ void Slider::repaintEvent(RepaintEvent* repaintEvent) void Slider::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } |