Code/Editor

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-16 15:56:36 -07:00
parent e6b5342c07
commit 2963739288
51 changed files with 286 additions and 337 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ int PixmapLabelPreview::heightForWidth(int width) const
return width;
}
return ((qreal)m_pixmap.height() * width) / m_pixmap.width();
return static_cast<int>(((qreal)m_pixmap.height() * width) / m_pixmap.width());
}