diff options
Diffstat (limited to 'digikam/libs/widgets/common/dcursortracker.cpp')
-rw-r--r-- | digikam/libs/widgets/common/dcursortracker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/digikam/libs/widgets/common/dcursortracker.cpp b/digikam/libs/widgets/common/dcursortracker.cpp index bf8880c..ee8d388 100644 --- a/digikam/libs/widgets/common/dcursortracker.cpp +++ b/digikam/libs/widgets/common/dcursortracker.cpp @@ -64,7 +64,7 @@ bool DCursorTracker::eventFilter(TQObject *object, TQEvent *e) { case TQEvent::MouseMove: { - TQMouseEvent *event = TQT_TQMOUSEEVENT(e); + TQMouseEvent *event = static_cast<TQMouseEvent*>(e); if (m_enable && (widget->rect().contains(event->pos()) || (event->stateAfter() & TQt::LeftButton))) { @@ -81,7 +81,7 @@ bool DCursorTracker::eventFilter(TQObject *object, TQEvent *e) case TQEvent::MouseButtonRelease: { - TQMouseEvent* event = TQT_TQMOUSEEVENT(e); + TQMouseEvent* event = static_cast<TQMouseEvent*>(e); if ( !widget->rect().contains(event->pos()) ) { hide(); |