Commit 8335042
committed
feat: add override icon search path for system tray
1. Changed resource prefix from /dsg/built-in-icons to /dsg-icon/
override in application-tray.qrc
2. Added DIconTheme include and modified DCI theme search paths in
trayplugin.cpp
3. Prepended the override path to ensure system icons take precedence
over theme icons
4. This allows system icons to remain consistent regardless of theme
changes
feat: 为系统托盘添加图标覆盖搜索路径
1. 将 application-tray.qrc 中的资源前缀从 /dsg/built-in-icons 改为 /dsg-
icon/override
2. 在 trayplugin.cpp 中添加 DIconTheme 包含并修改 DCI 主题搜索路径
3. 将覆盖路径前置以确保系统图标优先于主题图标
4. 这使得系统图标在不同主题下保持一致性
pms: BUG-3325831 parent e7cae68 commit 8335042
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
0 commit comments