summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/clickmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/clickmap.cpp')
-rw-r--r--superkaramba/src/clickmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/superkaramba/src/clickmap.cpp b/superkaramba/src/clickmap.cpp
index 34f74e9..8b25bce 100644
--- a/superkaramba/src/clickmap.cpp
+++ b/superkaramba/src/clickmap.cpp
@@ -41,7 +41,7 @@ void ClickMap::setTextProps( TextField *t )
bool ClickMap::click( TQMouseEvent *e ) {
//Don't load the web page if the click isn't for us
- if (boundingBox.tqcontains(e->x(), e->y())) {
+ if (boundingBox.contains(e->x(), e->y())) {
int index = ((e -> y() - getY()) / text.getLineHeight()) + 1;
if (index >= 1 && index <= (int)displays.count()) {