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 d28ef3bd54
commit 813e9040ac
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()));
}