summaryrefslogtreecommitdiffstats
path: root/fifteenapplet/fifteenapplet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fifteenapplet/fifteenapplet.cpp')
-rw-r--r--fifteenapplet/fifteenapplet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fifteenapplet/fifteenapplet.cpp b/fifteenapplet/fifteenapplet.cpp
index 3dc453f..8393f9e 100644
--- a/fifteenapplet/fifteenapplet.cpp
+++ b/fifteenapplet/fifteenapplet.cpp
@@ -235,7 +235,7 @@ void PiecesTable::mousePressEvent(TQMouseEvent* e)
// GAME LOGIC
// find the free position
- int pos = _map.tqfind(15);
+ int pos = _map.find(15);
if(pos < 0) return;
int frow = pos / numCols();