You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: improve update checking mechanism and activation state
1. Changed default systemActivation state to true in UpdateModel for
proper initialization
2. Added m_doCheckUpdates flag to prevent duplicate update checks
3. Modified update checking logic to use new activeUpdateModel signal
instead of ActiveObjectChanged
4. Added count property and childrenChanged handler in update.qml to
ensure proper timing for update checks
5. Simplified updateMain.qml to use direct signal connection for update
checks
The changes address several issues:
- Prevents duplicate update checks when switching modules
- Ensures update checks happen at the right time when entering the
module
- Improves initialization state management
- Makes the update checking process more reliable and predictable
fix: 改进更新检查机制和激活状态
1. 在UpdateModel中将默认systemActivation状态改为true以正确初始化
2. 添加m_doCheckUpdates标志防止重复检查更新
3. 修改更新检查逻辑,使用新的activeUpdateModel信号替代
ActiveObjectChanged
4. 在update.qml中添加count属性和childrenChanged处理程序以确保更新检查的
正确时机
5. 简化updateMain.qml,使用直接信号连接进行更新检查
这些更改解决了以下问题:
- 防止切换模块时重复检查更新
- 确保进入模块时在正确时间检查更新
- 改进初始化状态管理
- 使更新检查过程更可靠和可预测
pms: Bug-316589
0 commit comments