diff options
Diffstat (limited to 'libk3b/tools/k3bpushbutton.cpp')
-rw-r--r-- | libk3b/tools/k3bpushbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libk3b/tools/k3bpushbutton.cpp b/libk3b/tools/k3bpushbutton.cpp index 780a338..636cc4b 100644 --- a/libk3b/tools/k3bpushbutton.cpp +++ b/libk3b/tools/k3bpushbutton.cpp @@ -99,12 +99,12 @@ bool K3bPushButton::eventFilter( TQObject* o, TQEvent* ev ) // is moved by a small distance. if( popup() ) { if( ev->type() == TQEvent::MouseButtonPress ) { - TQMouseEvent* mev = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* mev = static_cast<TQMouseEvent*>(ev); d->mousePressPos = mev->pos(); d->popupTimer->start( TQApplication::startDragTime() ); } else if( ev->type() == TQEvent::MouseMove ) { - TQMouseEvent* mev = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* mev = static_cast<TQMouseEvent*>(ev); if( ( mev->pos() - d->mousePressPos).manhattanLength() > TDEGlobalSettings::dndEventDelay() ) { d->popupTimer->stop(); slotDelayedPopup(); |