From ad141f1796b422862c37706dfcab52b2faf40b93 Mon Sep 17 00:00:00 2001 From: Benjamin Nauck Date: Tue, 24 Sep 2024 14:49:06 +0200 Subject: [PATCH] Swaps out the hard coded icon to the standard svg icon --- .../Gui/ViewProviderSpreadsheet.cpp | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/src/Mod/Spreadsheet/Gui/ViewProviderSpreadsheet.cpp b/src/Mod/Spreadsheet/Gui/ViewProviderSpreadsheet.cpp index c0bc26ee90..4e63578c57 100644 --- a/src/Mod/Spreadsheet/Gui/ViewProviderSpreadsheet.cpp +++ b/src/Mod/Spreadsheet/Gui/ViewProviderSpreadsheet.cpp @@ -73,31 +73,7 @@ std::vector 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)