Commit 520a9f4
committed
fix: fix font weight property assignment
1. Changed Font.BoldFont.Bold to Font.Bold in folderNameFont property
assignment
2. This fixes a QML warning about incorrect property access
3. The original code was trying to access a non-existent property chain
4. Font.Bold is the correct way to specify bold font weight in Qt/QML
Influence:
1. Verify that folder grid view popup displays with correct bold font
styling
2. Check for any remaining QML warnings related to font properties
3. Test popup appearance and text rendering in different display
scenarios
fix: 修复字体粗细属性赋值
1. 将 folderNameFont 属性赋值中的 Font.BoldFont.Bold 改为 Font.Bold
2. 修复了关于错误属性访问的 QML 警告
3. 原始代码尝试访问不存在的属性链
4. Font.Bold 是在 Qt/QML 中指定粗体字重的正确方式
Influence:
1. 验证文件夹网格视图弹窗是否以正确的粗体字体样式显示
2. 检查是否还有与字体属性相关的 QML 警告
3. 在不同显示场景下测试弹窗外观和文本渲染1 parent 094fd43 commit 520a9f4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments