Closed add-uos closed 2 months ago
关键摘要:
window->wmClass() == "dde-dock" || window->wmClass() == "dde-shell"
可能需要更多的上下文来理解为什么需要同时检查这两个类名。如果这个更改是为了修复一个特定的bug,应该提供更多的背景信息。window->flags().testFlag(Qt::Window)
和 window->flags().testFlag(Qt::Desktop)
是否可以替换为 window->wmClass() == "dde-dock"
,以简化代码逻辑。是否建议立即修改:
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: add-uos, lzwind
The full list of commands accepted by this bot can be found here.
/merge
This pr cannot be merged! (status: unstable)
/merge
Log: fix the Alt+Print shotcut get the wrong image Bug: https://pms.uniontech.com/bug-view-267329.html