summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewtools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageviewtools.cpp')
-rw-r--r--src/gvcore/imageviewtools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/imageviewtools.cpp b/src/gvcore/imageviewtools.cpp
index da9044a..a749ff3 100644
--- a/src/gvcore/imageviewtools.cpp
+++ b/src/gvcore/imageviewtools.cpp
@@ -177,7 +177,7 @@ void ImageView::ScrollTool::wheelEvent(TQWheelEvent* event) {
if (ImageViewConfig::mouseWheelScroll()) {
int deltaX, deltaY;
- if (event->state() & AltButton || event->orientation()==Qt::Horizontal) {
+ if (event->state() & AltButton || event->orientation()==Horizontal) {
deltaX = event->delta();
deltaY = 0;
} else {