PartDesign: Refactor set/remove tip in the new Gui::ViewProvider mechanism

This commit is contained in:
Abdullah Tahiri
2019-06-16 12:13:24 +02:00
committed by wmayer
parent 321e9215d4
commit 2ac5707072
5 changed files with 37 additions and 49 deletions

View File

@@ -174,6 +174,6 @@ QIcon ViewProviderLoft::getIcon(void) const {
str += QString::fromLatin1("Subtractive_");
str += QString::fromLatin1("Loft.svg");
return mergeTip(Gui::BitmapFactory().pixmap(str.toStdString().c_str()));
return PartDesignGui::ViewProvider::mergeOverlayIcons(Gui::BitmapFactory().pixmap(str.toStdString().c_str()));
}