Closed kegechen closed 4 months ago
@Whale107
Doc Check bot :green_circle: Document Coverage Check Passed!
关键摘要:
dynamic_cast
,建议检查是否有必要进行类型转换,并确保转换的安全性。Q_EMIT
进行信号发射时,没有检查 btn
是否为 nullptr
,可能会导致运行时错误。QEvent::KeyPress
的处理,应该确保 obj
是 focusWidget()
,以避免不必要的重定向。是否建议立即修改:
use QPlatformTheme::ButtonPressKeys for pressing buttons
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: kegechen, zccrs
The full list of commands accepted by this bot can be found here.
/retest
/retest
/forcemerge
This pr force merged! (status: blocked)
修复大多数按钮不响应enter事件,仅支持DApplication应用
Log: 修复大多数按钮不响应enter事件 Bug: https://pms.uniontech.com/bug-view-253935.html Influence: 按钮响应键盘回车事件
cherry-pick form: https://gerrit.uniontech.com/c/dtkwidget/+/239241