Closed FeiWang1119 closed 1 month ago
关键摘要:
checkStateSet
私有函数中,D_D(DSwitchButton)
的调试信息应该在编译时进行条件编译以避免潜在的性能问题。DDciIcon::fromTheme("switch_on")
和DDciIcon::fromTheme("switch_off")
的调用可能需要检查图标主题的可用性,以避免在某些情况下导致程序崩溃。d->player.setIcon(icon)
可能会导致内存泄漏,如果d->player
在设置图标后不再被使用,应该在不再需要图标时删除它。是否建议立即修改:
Doc Check bot :green_circle: Document Coverage Check Passed!
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: FeiWang1119, kegechen
The full list of commands accepted by this bot can be found here.
/forcemerge
This pr force merged! (status: behind)
correct the wrong initial status of switch button
Bug: https://pms.uniontech.com/bug-view-276221.html Log: