mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
QT6: Mod unused function put in comments
This commit is contained in:
@@ -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;
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user