summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/spinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/spinbox.cpp')
-rw-r--r--kalarm/lib/spinbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/lib/spinbox.cpp b/kalarm/lib/spinbox.cpp
index fc8e6b7c3..10f3f5917 100644
--- a/kalarm/lib/spinbox.cpp
+++ b/kalarm/lib/spinbox.cpp
@@ -468,9 +468,9 @@ int SpinBox::shiftStepAdjustment(int oldValue, int shiftStep)
*/
int SpinBox::whichButton(const TQPoint& pos)
{
- if (upRect().tqcontains(pos))
+ if (upRect().contains(pos))
return UP;
- if (downRect().tqcontains(pos))
+ if (downRect().contains(pos))
return DOWN;
return NO_BUTTON;
}