Commit 6862e66
committed
fix: prevent pending state failure in window platform interface
Remove Qt::QueuedConnection and value comparison to ensure pending
operations always execute synchronously. QueuedConnection fails when
stack variables go out of scope before execution. Removing the early
return prevents state inconsistency when initial values match desired
values. Treeland protocol currently lacks configure support, so all
features must apply immediately.
Log: 修复窗口平台接口中 pending 状态失败问题1 parent fb25741 commit 6862e66
2 files changed
Lines changed: 1 addition & 3 deletions
File tree
- src/plugins/platform/treeland
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
| |||
0 commit comments