Commit a3353d2d authored by Noah Davis's avatar Noah Davis 🌵
Browse files

[Units] Use var instead of variant

parent 79560c57
......@@ -232,7 +232,7 @@ QtObject {
/**
* metrics used by the default font
*/
property variant fontMetrics: FontMetrics {
property var fontMetrics: FontMetrics {
/* Height of a flat topped capital letter
*
* QFontEngine (private, used by QFontMetricsF) uses an 'H' to
......@@ -281,7 +281,7 @@ QtObject {
property real pixelSizeBoundingRectHeightRatio: __boundingRectRatioFontMetrics.font.pixelSize / __boundingRectRatioFontMetrics.height
property variant __boundingRectRatioFontMetrics: FontMetrics {
property var __boundingRectRatioFontMetrics: FontMetrics {
font.pointSize: 96
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment