Improved icon themes support

This commit is contained in:
triplus
2019-02-12 21:13:56 +01:00
committed by Yorik van Havre
parent fc7efcb4d7
commit 92efd5fbe9
18 changed files with 230 additions and 230 deletions

View File

@@ -1495,10 +1495,10 @@ Gui::Action * CmdFemPostFunctions::createAction(void)
applyCommandData(this->className(), pcAction);
QAction* cmd0 = pcAction->addAction(QString());
cmd0->setIcon(Gui::BitmapFactory().pixmap("fem-post-geo-plane"));
cmd0->setIcon(Gui::BitmapFactory().iconFromTheme("fem-post-geo-plane"));
QAction* cmd1 = pcAction->addAction(QString());
cmd1->setIcon(Gui::BitmapFactory().pixmap("fem-post-geo-sphere"));
cmd1->setIcon(Gui::BitmapFactory().iconFromTheme("fem-post-geo-sphere"));
_pcAction = pcAction;
languageChange();