From d94ef39cba97c6f2b1c4612f32034039744f1613 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 8 Apr 2022 16:08:24 +0200 Subject: [PATCH] Fix warnings for extruder icon --- resources/qml/ExtruderIcon.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/ExtruderIcon.qml b/resources/qml/ExtruderIcon.qml index ad16bc4455..fb3269ca78 100644 --- a/resources/qml/ExtruderIcon.qml +++ b/resources/qml/ExtruderIcon.qml @@ -27,8 +27,8 @@ Item UM.ColorImage { anchors.fill: parent - width: mainIcon.sourceSize.width - height: mainIcon.sourceSize.height + width: mainIcon.width + height: mainIcon.height source: UM.Theme.getIcon("ExtruderColor", iconVariant) color: materialColor