diff options
author | Michele Calgaro <[email protected]> | 2023-08-08 12:21:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-08 12:21:08 +0900 |
commit | bfbab5a5ea0f49e0cb812db1d977b99ece5258d4 (patch) | |
tree | 8d5075b7b1690d9c4f8e3a7dc23ddb4789100f17 | |
parent | bc6061ff9e83d8032611908039c3b399aedabf88 (diff) | |
download | tdegames-bfbab5a5ea0f49e0cb812db1d977b99ece5258d4.tar.gz tdegames-bfbab5a5ea0f49e0cb812db1d977b99ece5258d4.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
-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; |