summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kaffeine/src/player-parts/xine-part/positionslider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaffeine/src/player-parts/xine-part/positionslider.cpp b/kaffeine/src/player-parts/xine-part/positionslider.cpp
index 9d64e26..4b3ce52 100644
--- a/kaffeine/src/player-parts/xine-part/positionslider.cpp
+++ b/kaffeine/src/player-parts/xine-part/positionslider.cpp
@@ -89,7 +89,7 @@ void PositionSlider::wheelEvent(TQWheelEvent* e)
bool PositionSlider::eventFilter(TQObject *obj, TQEvent *ev)
{
- if( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this) && (ev->type() == TQEvent::MouseButtonPress || ev->type() == TQEvent::MouseButtonDblClick) ) {
+ if( obj == this && (ev->type() == TQEvent::MouseButtonPress || ev->type() == TQEvent::MouseButtonDblClick) ) {
TQMouseEvent *e = (TQMouseEvent *)ev;
TQRect r = sliderRect();