From d7e61b30a171f851834d7fb11af9a31a70db19b5 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Tue, 1 Aug 2023 11:51:20 -0600 Subject: [PATCH] Port to modern SVG instantiation --- src/plugins/tileseditor/qml/main.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plugins/tileseditor/qml/main.qml b/src/plugins/tileseditor/qml/main.qml index c7b28e3768..8b07a31db0 100644 --- a/src/plugins/tileseditor/qml/main.qml +++ b/src/plugins/tileseditor/qml/main.qml @@ -187,10 +187,6 @@ FocusScope { dim: true onOpened: forceActiveFocus() onClosed: root.forceActiveFocus() - KSvg.Svg { - id: layoutsSvg - imagePath: Qt.resolvedUrl("layouts.svg") - } component LayoutButton: PlasmaComponents.AbstractButton { id: button Layout.fillWidth: true @@ -198,7 +194,7 @@ FocusScope { property alias image: svgItem.elementId contentItem: KSvg.SvgItem { id: svgItem - svg: layoutsSvg + imagePath: Qt.resolvedUrl("layouts.svg") implicitWidth: naturalSize.width implicitHeight: naturalSize.height }