PartDesign: Fix broken outdated icon filenames

This fixes some cases that were missed in commit 2834075d6a
This commit is contained in:
David Osterberg
2021-02-12 00:28:01 +01:00
committed by wwmayer
parent 66417b3ce1
commit 17af884e50
3 changed files with 6 additions and 6 deletions

View File

@@ -202,9 +202,9 @@ QIcon ViewProviderPipe::getIcon(void) const {
QString str = QString::fromLatin1("PartDesign_");
auto* prim = static_cast<PartDesign::Pipe*>(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("Pipe.svg");
return PartDesignGui::ViewProvider::mergeGreyableOverlayIcons(Gui::BitmapFactory().pixmap(str.toStdString().c_str()));