Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bfbab5a5ea)
r14.1.x
Michele Calgaro 10 months ago
parent 1d0e7307b1
commit ef381c0961
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1434,7 +1434,7 @@ bool KBgBoard::moveOffPossible() const
KBgBoardCell* KBgBoard::getCellByPos(const TQPoint& p) const KBgBoardCell* KBgBoard::getCellByPos(const TQPoint& p) const
{ {
for (int i = 0; i < 30; ++i) { 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 cells[i];
} }
return NULL; return NULL;

Loading…
Cancel
Save