Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5c33cef97b)
r14.1.x
Michele Calgaro 1 year ago
parent cad95d2d58
commit 8af1bf87fd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -89,7 +89,7 @@ void PositionSlider::wheelEvent(TQWheelEvent* e)
bool PositionSlider::eventFilter(TQObject *obj, TQEvent *ev) 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; TQMouseEvent *e = (TQMouseEvent *)ev;
TQRect r = sliderRect(); TQRect r = sliderRect();

Loading…
Cancel
Save