summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewtools.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-12 21:59:07 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-12 21:59:07 -0500
commit1eac443e690763dd571aec664aba52f6683f9916 (patch)
tree51aea2f8203898e0e015b0dc9157fd9bc264151c /src/gvcore/imageviewtools.cpp
parent303be4553ad5bbe79d50a8708cf1f8f0e4d220af (diff)
downloadgwenview-1eac443e690763dd571aec664aba52f6683f9916.tar.gz
gwenview-1eac443e690763dd571aec664aba52f6683f9916.zip
Fix inadvertent tqt changes. Part of an extensive cleanup of various problems
with kipi-plugins, digikam, and gwenview to resolve bug reports 241, 962, 963.
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 {