----------------------------------------------------------------------------
| 524 | |
| 525 | //---------------------------------------------------------------------------- |
| 526 | void pqPythonMacroSupervisor::setIconForMacro(const QString& macroPath, const QString& iconPath) |
| 527 | { |
| 528 | auto iconSettings = pqInternal::IconSettings(); |
| 529 | if (iconPath.isEmpty()) |
| 530 | { |
| 531 | iconSettings.removeItemFromSettings(macroPath); |
| 532 | } |
| 533 | else |
| 534 | { |
| 535 | iconSettings.setItemIconInSettings(macroPath, iconPath); |
| 536 | } |
| 537 | } |
| 538 | |
| 539 | //---------------------------------------------------------------------------- |
| 540 | QString pqPythonMacroSupervisor::iconPathFromFileName(const QString& fileName) |
nothing calls this directly
no test coverage detected