summaryrefslogtreecommitdiff
path: root/plugingui/scrollbar.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-01-02 14:26:59 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2017-01-02 14:26:59 +0100
commita7710c4105fd469c3eb8fa890e9aae6a4da27a69 (patch)
treefc10396adf497c07d57b3625516c5713acf2f745 /plugingui/scrollbar.cc
parenta781deee74a8a5e1eb9429229974d4f70137ae09 (diff)
Fix formatting issues.
Diffstat (limited to 'plugingui/scrollbar.cc')
-rw-r--r--plugingui/scrollbar.cc3
1 files changed, 2 insertions, 1 deletions
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;
}