summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 17:58:07 +0900
commitef381c09614ad289332c5f1e5a987213861e4f2d (patch)
tree095c9b1a9202f16f099e43e4f3f76232500cd81a
parent1d0e7307b157b3d63d402c17b0ffb07bf3a7eb57 (diff)
downloadtdegames-ef381c09614ad289332c5f1e5a987213861e4f2d.tar.gz
tdegames-ef381c09614ad289332c5f1e5a987213861e4f2d.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bfbab5a5ea0f49e0cb812db1d977b99ece5258d4)
-rw-r--r--kbackgammon/kbgboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbackgammon/kbgboard.cpp b/kbackgammon/kbgboard.cpp
index 166b2a3a..e6f34677 100644
--- a/kbackgammon/kbgboard.cpp
+++ b/kbackgammon/kbgboard.cpp
@@ -1434,7 +1434,7 @@ bool KBgBoard::moveOffPossible() const
KBgBoardCell* KBgBoard::getCellByPos(const TQPoint& p) const
{
for (int i = 0; i < 30; ++i) {
- if (TQT_TQRECT_OBJECT(cells[i]->rect()).contains(cells[i]->mapFromParent(p)))
+ if (cells[i]->rect().contains(cells[i]->mapFromParent(p)))
return cells[i];
}
return NULL;