Commit 8b648ac
fix: conditionally show hyperlink in acknowledgments
1. Add D.LicenseInfoProvider to check license path validity in
AboutDialog
2. Only display open-source software text as hyperlink when license
path is valid
3. Pass LicenseInfoProvider instance to LicenseDialog instead of
license path string
Log: Fix open-source software acknowledgement text to only hyperlink
when license info is available
fix: 根据许可路径有效性条件显示超链接
1. 在关于对话框中添加 D.LicenseInfoProvider 检查许可路径有效性
2. 仅在许可路径有效时将开源软件文本显示为超链接
3. 将 LicenseInfoProvider 实例传递给许可对话框,替代路径字符串
Log: 修复开源软件致谢文本,仅在许可信息可用时显示为超链接
PMS: BUG-3610311 parent 08bed9b commit 8b648ac
2 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
141 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
142 | 154 | | |
143 | 155 | | |
144 | 156 | | |
| |||
173 | 185 | | |
174 | 186 | | |
175 | 187 | | |
176 | | - | |
| 188 | + | |
177 | 189 | | |
178 | 190 | | |
179 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
| |||
0 commit comments