summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waButton.cpp
diff options
context:
space:
mode:
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 4946d548..8dfa7bfb 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()).tqcontains(e->pos())){
+ if (TQT_TQRECT_OBJECT(this->rect()).contains(e->pos())){
if (_togglable) {
_toggled = !_toggled;
emit(toggleEvent(_toggled));