summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r--src/gvcore/imageview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp
index 11ffb94..3f1db66 100644
--- a/src/gvcore/imageview.cpp
+++ b/src/gvcore/imageview.cpp
@@ -280,7 +280,7 @@ public:
case TQEvent::KeyRelease:
case TQEvent::AccelOverride:
return static_cast< ImageView* >( TQT_TQWIDGET(parent()))
- ->viewportKeyEvent(TQT_TQKEYEVENT(event));
+ ->viewportKeyEvent(static_cast<TQKeyEvent*>(event));
default:
break;
}
@@ -1015,7 +1015,7 @@ bool ImageView::eventFilter(TQObject* obj, TQEvent* event) {
case TQEvent::KeyPress:
case TQEvent::KeyRelease:
case TQEvent::AccelOverride:
- return viewportKeyEvent(TQT_TQKEYEVENT(event));
+ return viewportKeyEvent(static_cast<TQKeyEvent*>(event));
case TQEvent::MouseButtonDblClick:
if (d->mToolID==ZOOM) return false;