0
0
mirror of https://github.com/fralx/LimeReport.git synced 2026-01-11 13:58:05 +03:00

fix build for c++ < 17

This commit is contained in:
Arin Alex
2023-02-07 00:32:58 +03:00
parent 9af5af74b3
commit 4bb82ffa52
2 changed files with 4 additions and 2 deletions

View File

@@ -60,7 +60,6 @@ void BandMarker::paint(QPainter *painter, const QStyleOptionGraphicsItem* /**opt
boundingRect().bottomLeft().y()-4,
boundingRect().width(),4), Qt::lightGray
);
qDebug()<<boundingRect().width();
painter->setRenderHint(QPainter::Antialiasing);
qreal size = (boundingRect().width()<boundingRect().height()) ? boundingRect().width() : boundingRect().height();
QRectF r = QRectF(0,0,size,size);