summaryrefslogtreecommitdiff
path: root/src/VBox/Frontends
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2019-02-08 18:31:09 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2019-02-08 18:31:09 +0000
commitecccb4d1c4cf4137109a5aa38f1390918226ae70 (patch)
treedc5d3b3d8c0206ce926b75336d47cf6155e63960 /src/VBox/Frontends
parent7aa26b655b181101b3f0e83232287eed00f877cd (diff)
downloadVirtualBox-svn-ecccb4d1c4cf4137109a5aa38f1390918226ae70.tar.gz
FE/Qt: bugref:9373: Another small fix (s.a. r128736).
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@77230 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Frontends')
-rw-r--r--src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsScrollArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsScrollArea.cpp b/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsScrollArea.cpp
index b7d8f5b7d3b..70105b0e4fc 100644
--- a/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsScrollArea.cpp
+++ b/src/VBox/Frontends/VirtualBox/src/widgets/graphics/UIGraphicsScrollArea.cpp
@@ -152,7 +152,7 @@ bool UIGraphicsScrollArea::eventFilter(QObject *pObject, QEvent *pEvent)
{
if (angleDelta.x() > 0)
m_pScrollBar->setValue(m_pScrollBar->value() - m_pScrollBar->step());
- else
+ else if (angleDelta.x() < 0)
m_pScrollBar->setValue(m_pScrollBar->value() + m_pScrollBar->step());
break;
}