-
Notifications
You must be signed in to change notification settings - Fork 188
Description
During investigating of issues #56 and #58 I have found out, there is a pretty big mess in terms of small icons used by AntiMicroX.
Currently, custom icons are both compiled into binary files (but they are broken because of wrong paths in code) and they are added as a part of system theme called hicolor
.
To ensure usage of these icons theme used by app is overridden to be hicolor
, this solution is very not elegant, duplicates loading of the same icons and can be problematic to use with some themes.
updateJoy->setIcon(QIcon::fromTheme(QString::fromUtf8("view_refresh"), QIcon(":/icons/hicolor/16x16/actions/view_refresh.png")));
I think it would be better to use icons supplied by system-wide theme, because some of our icon look a bit out of place in some cases, and we should use our old icons as a fallback option in case of problems with themed icons.
I think we could also think about updating some of these icons, because some of them look a bit out of date:
...
TL;TR
Things to do:
- use default system-wide icons (Fix: Use system icons in common cases to avoid incompatibility issues #62 fix: Ensure usage of basic system icons in missed locations #71)
- fix fallback links to embedded icons (compiled into binary files of antimicrox) (Fix: Fix wrong paths to fallback icons. #75)
- remove already embedded icons from list of installed elements (chore: Remove installation of custom icons and #72)
- add light/dark variants of system tray icon Add dark tray icon #66
- (optional) update default icons