summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waButton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:21:49 +0900
committerMichele Calgaro <[email protected]>2023-08-08 12:21:49 +0900
commit172024abe61897349878c7421cfd99a8d2aa957a (patch)
tree54a103eac7590da8eb77ac7eb38f885f639be787 /noatun/modules/winskin/waButton.cpp
parent678ee0d63590ba7bf1cad32070c229d699617a3c (diff)
downloadtdemultimedia-172024abe61897349878c7421cfd99a8d2aa957a.tar.gz
tdemultimedia-172024abe61897349878c7421cfd99a8d2aa957a.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'noatun/modules/winskin/waButton.cpp')
-rw-r--r--noatun/modules/winskin/waButton.cpp2
1 files changed, 1 insertions, 1 deletions
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));