-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: switch to use QConcatenateTablesProxyModel
MultipageProxyModel 之前手动维护了文件夹 item 与编号的映射关系与模型 状态同步,但实现存在很多问题。例如删除文件夹 item 时由于信号不当崩溃, 文件夹名称与编号对应关系出错等。 此提交将模型的管理转而使用 QConcatenateTablesProxyModel,避免手动维护 模型数据的各种信号更新事宜,避免了关于信号缺失或范围错误导致的崩溃。 也修正了此后发现的一些其它相关问题。 Log:
- Loading branch information
Showing
3 changed files
with
67 additions
and
90 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