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 12:21:08 +0900
commitbfbab5a5ea0f49e0cb812db1d977b99ece5258d4 (patch)
tree8d5075b7b1690d9c4f8e3a7dc23ddb4789100f17
parentbc6061ff9e83d8032611908039c3b399aedabf88 (diff)
downloadtdegames-bfbab5a5ea0f49e0cb812db1d977b99ece5258d4.tar.gz
tdegames-bfbab5a5ea0f49e0cb812db1d977b99ece5258d4.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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;