Swaps out the hard coded icon to the standard svg icon

This commit is contained in:
Benjamin Nauck
2024-09-24 10:04:32 -05:00
committed by Chris Hennes
parent cf9e2e9c9a
commit 690f06e618
@@ -73,31 +73,7 @@ std::vector<std::string> ViewProviderSheet::getDisplayModes() const
QIcon ViewProviderSheet::getIcon() const
{
// clang-format off
static const char* const Points_Feature_xpm[] = {
"16 16 3 1",
" c None",
". c #000000",
"+ c #FFFFFF",
" ",
" ",
"................",
".++++.++++.++++.",
".++++.++++.++++.",
"................",
".++++.++++.++++.",
".++++.++++.++++.",
"................",
".++++.++++.++++.",
".++++.++++.++++.",
"................",
".++++.++++.++++.",
".++++.++++.++++.",
"................",
" "};
QPixmap px(Points_Feature_xpm);
return px;
// clang-format on
return QIcon(QLatin1String(":icons/Spreadsheet.svg"));
}
bool ViewProviderSheet::setEdit(int ModNum)