diff options
author | Marco Bubke <marco.bubke@qt.io> | 2022-08-31 12:03:38 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2022-09-22 14:09:03 +0000 |
commit | e6a74d8d13c12900177b73cd2083d60172da3c07 (patch) | |
tree | 32ec5fd9cd9e3943f70aea2b7276d8b7b71abd6c /src/plugins/qmldesigner/components/curveeditor/curveeditorstyle.h | |
parent | 96f0a7ae1bcec7239645fdf49033c6fcb984c21e (diff) |
QmlDesigner: Make variables compile time constant
Change-Id: I5ef7a3cc1f3d070482311993a9ac9e9e68faa905
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/curveeditor/curveeditorstyle.h')
-rw-r--r-- | src/plugins/qmldesigner/components/curveeditor/curveeditorstyle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/curveeditor/curveeditorstyle.h b/src/plugins/qmldesigner/components/curveeditor/curveeditorstyle.h index c27f446d00..db6179387a 100644 --- a/src/plugins/qmldesigner/components/curveeditor/curveeditorstyle.h +++ b/src/plugins/qmldesigner/components/curveeditor/curveeditorstyle.h @@ -34,8 +34,8 @@ struct TreeItemStyleOption static QIcon iconFromFont(QmlDesigner::Theme::Icon type, const QColor &color = Qt::white) { const QString fontName = "qtds_propertyIconFont.ttf"; - static const int fontSize = 28; - static const int iconSize = 28; + const int fontSize = 28; + const int iconSize = 28; return Utils::StyleHelper::getIconFromIconFont(fontName, QmlDesigner::Theme::getIconUnicode(type), fontSize, |