summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:42:56 +0900
committerMichele Calgaro <[email protected]>2023-08-14 10:32:14 +0900
commit5c33cef97b89d47128d1a3e687018ab2e1dd1a31 (patch)
tree9b2661fe0cadc7225fb4250e5cb919339b07f906
parent4a24155a399bb20d9fea4880b820efa0111ce040 (diff)
downloadkaffeine-5c33cef97b89d47128d1a3e687018ab2e1dd1a31.tar.gz
kaffeine-5c33cef97b89d47128d1a3e687018ab2e1dd1a31.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
-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();