diff --git a/juk/systemtray.cpp b/juk/systemtray.cpp index 577817b9..85abc339 100644 --- a/juk/systemtray.cpp +++ b/juk/systemtray.cpp @@ -577,7 +577,7 @@ void SystemTray::mousePressEvent(TQMouseEvent *e) KSystemTray::mousePressEvent(e); break; case Qt::MidButton: - if(!TQT_TQRECT_OBJECT(rect()).contains(e->pos())) + if(!rect().contains(e->pos())) return; if(action("pause")->isEnabled()) action("pause")->activate(); diff --git a/noatun/modules/winskin/waButton.cpp b/noatun/modules/winskin/waButton.cpp index 8dfa7bfb..6ecf4050 100644 --- a/noatun/modules/winskin/waButton.cpp +++ b/noatun/modules/winskin/waButton.cpp @@ -68,7 +68,7 @@ void WaButton::mouseReleaseEvent(TQMouseEvent* e) { else { pressed = false; - if (TQT_TQRECT_OBJECT(this->rect()).contains(e->pos())){ + if (this->rect().contains(e->pos())){ if (_togglable) { _toggled = !_toggled; emit(toggleEvent(_toggled));