Gui: Use freedesktop name for the group icon so it can be displayed using the system theme
This commit is contained in:
@@ -60,7 +60,7 @@ ViewProviderDocumentObjectGroup::ViewProviderDocumentObjectGroup()
|
||||
#endif
|
||||
ViewProviderGroupExtension::initExtension(this);
|
||||
|
||||
sPixmap = "Group.svg";
|
||||
sPixmap = "folder";
|
||||
}
|
||||
|
||||
ViewProviderDocumentObjectGroup::~ViewProviderDocumentObjectGroup()
|
||||
@@ -78,6 +78,11 @@ bool ViewProviderDocumentObjectGroup::isShow(void) const
|
||||
return Visibility.getValue();
|
||||
}
|
||||
|
||||
QIcon ViewProviderDocumentObjectGroup::getIcon(void) const
|
||||
{
|
||||
return mergeOverlayIcons (Gui::BitmapFactory().iconFromTheme(sPixmap));
|
||||
}
|
||||
|
||||
/**
|
||||
* Extracts the associated view providers of the objects of the associated object group group.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user