PartDesign: Fix broken outdated icon filenames

This fixes some cases that were missed in commit 1814270d53afd1c51c
This commit is contained in:
David Osterberg
2021-02-12 00:28:01 +01:00
committed by wwmayer
parent a800920791
commit ec51691a43
3 changed files with 6 additions and 6 deletions

View File

@@ -169,9 +169,9 @@ QIcon ViewProviderLoft::getIcon(void) const {
QString str = QString::fromLatin1("PartDesign_");
auto* prim = static_cast<PartDesign::Loft*>(getObject());
if(prim->getAddSubType() == PartDesign::FeatureAddSub::Additive)
str += QString::fromLatin1("Additive_");
str += QString::fromLatin1("Additive");
else
str += QString::fromLatin1("Subtractive_");
str += QString::fromLatin1("Subtractive");
str += QString::fromLatin1("Loft.svg");
return PartDesignGui::ViewProvider::mergeGreyableOverlayIcons(Gui::BitmapFactory().pixmap(str.toStdString().c_str()));