From 6b41f3a5cdad02f031744a29ea4003a517e69087 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 1 Apr 2021 18:19:18 +0200 Subject: [PATCH] Make the welcome screen a re-usable image It's not good to name a resource after where it's used if it could be necessary in multiple places. Contributes to issue CURA-8107. --- resources/qml/WelcomePages/WelcomeContent.qml | 2 +- .../images/{first_run_welcome_cura.svg => welcome_cura.svg} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename resources/themes/cura-light/images/{first_run_welcome_cura.svg => welcome_cura.svg} (100%) diff --git a/resources/qml/WelcomePages/WelcomeContent.qml b/resources/qml/WelcomePages/WelcomeContent.qml index 45a0bf4a7c..619780435d 100644 --- a/resources/qml/WelcomePages/WelcomeContent.qml +++ b/resources/qml/WelcomePages/WelcomeContent.qml @@ -34,7 +34,7 @@ Item { id: curaImage anchors.horizontalCenter: parent.horizontalCenter - source: UM.Theme.getImage("first_run_welcome_cura") + source: UM.Theme.getImage("welcome_cura") fillMode: Image.PreserveAspectFit width: UM.Theme.getSize("welcome_wizard_content_image_big").width sourceSize.width: width diff --git a/resources/themes/cura-light/images/first_run_welcome_cura.svg b/resources/themes/cura-light/images/welcome_cura.svg similarity index 100% rename from resources/themes/cura-light/images/first_run_welcome_cura.svg rename to resources/themes/cura-light/images/welcome_cura.svg