Refactoring.

Code style.
This commit is contained in:
Roman Telezhynskyi 2023-11-10 11:08:13 +02:00
parent 3f0baef082
commit 23fd31ca08

View File

@ -26,12 +26,13 @@
**
*************************************************************************/
#include "vplacelabelitem.h"
#include "../vpatterndb/vcontainer.h"
#include "vplacelabelitem_p.h"
#include <QObject>
#include <QPainterPath>
#include <QPolygonF>
#include <QTransform>
#include <QtDebug>
#include <qnumeric.h>
//---------------------------------------------------------------------------------------------------------------------
@ -207,7 +208,7 @@ auto VPlaceLabelItem::RotationMatrix() const -> QTransform
//---------------------------------------------------------------------------------------------------------------------
auto VPlaceLabelItem::Box() const -> QRectF
{
return QRectF(0, 0, d->wValue, d->hValue);
return {0, 0, d->wValue, d->hValue};
}
//---------------------------------------------------------------------------------------------------------------------