summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waButton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 18:00:18 +0900
commit2795d5ce0a0315aeba52894ef2b8cdff5d74280e (patch)
tree44594eabfd5e297a077a7e7ed04d027a8d9ef4b1 /noatun/modules/winskin/waButton.cpp
parent107ab7796f5e050b4d96d1ebf8e7121a61f6279d (diff)
downloadtdemultimedia-2795d5ce0a0315aeba52894ef2b8cdff5d74280e.tar.gz
tdemultimedia-2795d5ce0a0315aeba52894ef2b8cdff5d74280e.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 172024abe61897349878c7421cfd99a8d2aa957a)
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));