diff options
author | Michele Calgaro <[email protected]> | 2023-08-08 12:21:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-08 17:58:07 +0900 |
commit | ef381c09614ad289332c5f1e5a987213861e4f2d (patch) | |
tree | 095c9b1a9202f16f099e43e4f3f76232500cd81a | |
parent | 1d0e7307b157b3d63d402c17b0ffb07bf3a7eb57 (diff) | |
download | tdegames-ef381c09614ad289332c5f1e5a987213861e4f2d.tar.gz tdegames-ef381c09614ad289332c5f1e5a987213861e4f2d.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit bfbab5a5ea0f49e0cb812db1d977b99ece5258d4)
-rw-r--r-- | kbackgammon/kbgboard.cpp | 2 |
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; |