Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 685724904f)
r14.1.x
Michele Calgaro 1 year ago
parent 3ef4ff2e06
commit 3cf3782613
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1197,7 +1197,7 @@ void CompositionView::drawIntersections(const CompositionModel::rectcontainer& r
break;
for (; i != rects.end(); ++i) {
CompositionRect ri = TQT_TQRECT_OBJECT(testRect.intersect(*i));
CompositionRect ri = testRect.intersect(*i);
if (!ri.isEmpty()) {
CompositionModel::rectcontainer::iterator t = std::find(intersections.begin(),
intersections.end(), ri);
@ -1244,7 +1244,7 @@ void CompositionView::drawIntersections(const CompositionModel::rectcontainer& r
break;
for (; i != intersections.end(); ++i) {
CompositionRect ri = TQT_TQRECT_OBJECT(testRect.intersect(*i));
CompositionRect ri = testRect.intersect(*i);
if (!ri.isEmpty() && ri != *i) {
CompositionModel::rectcontainer::iterator t = std::find(intersections2.begin(),
intersections2.end(), ri);

Loading…
Cancel
Save