-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
非GUI线程间接调用了update()函数, update()内部的 处理函数会调用markDirty()更新脏控件列表,但是 dirtyWidget(QVector)在多线程访问时可能无法正确 更新数据,导致widget的inDirtyList标识为true, 但dirtyWidget后续未正确的复位标识。 在QWidgetBackingStore::doSync()中一直无法正确的 将绘制数据刷新。 移动onStatInfoUpdated()计算逻辑到子线程类中, 界面更新移动到GUI线程. Log: 修复界面刷新显示问题 Bug: https://pms.uniontech.com/bug-view-247719.html Change-Id: Ic033097bb7010363bc4ee1768340812231b9c4d1
- Loading branch information
1 parent
00e9738
commit 9ec42bd
Showing
4 changed files
with
28 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters