From 9aa0fca3e4635347673e3d285f6dad1a711c9cfc Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Sun, 31 Mar 2024 11:46:55 +0200 Subject: [PATCH] Sketcher: Rename Sketcher_BSplineApproximate.svg For consistency: rename the icon to match the command name. --- src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp | 2 +- src/Mod/Sketcher/Gui/Resources/Sketcher.qrc | 2 +- ...SplineApproximate.svg => Sketcher_BSplineConvertToNURBS.svg} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/Mod/Sketcher/Gui/Resources/icons/splines/{Sketcher_BSplineApproximate.svg => Sketcher_BSplineConvertToNURBS.svg} (100%) diff --git a/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp b/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp index 0ff88432d7..4ea62843f2 100644 --- a/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp +++ b/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp @@ -116,7 +116,7 @@ CmdSketcherConvertToNURBS::CmdSketcherConvertToNURBS() sToolTipText = QT_TR_NOOP("Converts the selected geometry to a B-spline"); sWhatsThis = "Sketcher_BSplineConvertToNURBS"; sStatusTip = sToolTipText; - sPixmap = "Sketcher_BSplineApproximate"; + sPixmap = "Sketcher_BSplineConvertToNURBS"; sAccel = ""; eType = ForEdit; } diff --git a/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc b/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc index f0a0b2ca56..343967f816 100644 --- a/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc +++ b/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc @@ -270,7 +270,7 @@ icons/pointers/Sketcher_Pointer_Trimming.svg - icons/splines/Sketcher_BSplineApproximate.svg + icons/splines/Sketcher_BSplineConvertToNURBS.svg icons/splines/Sketcher_BSplineDecreaseDegree.svg icons/splines/Sketcher_BSplineDecreaseKnotMultiplicity.svg icons/splines/Sketcher_BSplineIncreaseDegree.svg diff --git a/src/Mod/Sketcher/Gui/Resources/icons/splines/Sketcher_BSplineApproximate.svg b/src/Mod/Sketcher/Gui/Resources/icons/splines/Sketcher_BSplineConvertToNURBS.svg similarity index 100% rename from src/Mod/Sketcher/Gui/Resources/icons/splines/Sketcher_BSplineApproximate.svg rename to src/Mod/Sketcher/Gui/Resources/icons/splines/Sketcher_BSplineConvertToNURBS.svg