From bfbab5a5ea0f49e0cb812db1d977b99ece5258d4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Aug 2023 12:21:08 +0900 Subject: Drop TQT_TQ*_OBJECT defines Signed-off-by: Michele Calgaro --- kbackgammon/kbgboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1