[TechDraw] Simplify return logic

Easy warmup
This commit is contained in:
Benjamin Bræstrup Sayoc
2023-04-09 18:31:06 +02:00
committed by WandererFan
parent 122ab14d92
commit 70c9cf0fc0
25 changed files with 53 additions and 106 deletions

View File

@@ -82,8 +82,7 @@ bool QGCustomImage::load(QPixmap map)
QSize QGCustomImage::imageSize()
{
QSize result = m_px.size() * scale();
return result;
return m_px.size() * scale();
}
void QGCustomImage::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) {