Commit 3051c63
committed
fix: add null check for QScreen in resizeByCurrentScreen
Add null pointer check for cursorScreen and quakeScreen to prevent
potential crash when screenAt() returns nullptr.
Log: 修复resizeByCurrentScreen中QScreen空指针检查
Influence: 防止在screenAt返回空指针时崩溃1 parent 57b7c43 commit 3051c63
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3513 | 3513 | | |
3514 | 3514 | | |
3515 | 3515 | | |
3516 | | - | |
| 3516 | + | |
3517 | 3517 | | |
3518 | 3518 | | |
3519 | 3519 | | |
| |||
0 commit comments