Part: move icons to booleans subdirectory

The path to the icons is added to `AppPartGui.cpp`
using `Gui::BitmapFactory().addPath()`, so the icons are found
automatically in their new directories.
This commit is contained in:
vocx-fc
2020-10-05 19:06:44 -05:00
committed by wwmayer
parent db91c6f424
commit 3b671bf4a5
26 changed files with 28 additions and 24 deletions

View File

@@ -52,7 +52,7 @@ if FreeCAD.GuiUp:
class _CommandExplodeCompound:
"Command to explode a compound"
def GetResources(self):
return {'Pixmap': ":/icons/Part_ExplodeCompound.svg",
return {'Pixmap': "Part_ExplodeCompound",
'MenuText': QtCore.QT_TRANSLATE_NOOP("Part_ExplodeCompound", "Explode compound"),
'Accel': "",
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_ExplodeCompound", "Explode compound: split up a list of shapes into separate objects")}