Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/18/head
Michele Calgaro 1 year ago
parent 4a24155a39
commit 5c33cef97b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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();

Loading…
Cancel
Save