QT6: Mod unused function put in comments

This commit is contained in:
Simon De Backer
2020-10-03 12:03:44 +02:00
parent ce11610d1d
commit b339dc2812

View File

@@ -1040,11 +1040,11 @@ void Createdxf::drawArcEllipse(
/*
* Utility functions
*/
static QRectF scaleRect(QRectF rect)
{
QRectF ro(rect.bottomLeft().x() * Createdxf::xScale,
Createdxf::sheetHeight - (rect.bottomLeft().y() * Createdxf::yScale),
rect.width() * Createdxf::xScale,
rect.height() * Createdxf::yScale);
return ro;
}
//static QRectF scaleRect(QRectF rect)
//{
// QRectF ro(rect.bottomLeft().x() * Createdxf::xScale,
// Createdxf::sheetHeight - (rect.bottomLeft().y() * Createdxf::yScale),
// rect.width() * Createdxf::xScale,
// rect.height() * Createdxf::yScale);
// return ro;
//}