This patch performs sorting of documentation providers list in documentation view. Unsorted list is ugly and blocks comfortable finding of documentation sections.
Details
Details
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
This isn't a good place to do the sorting. mProviders is modified in several other places as well (with the resp. QAIM {begin,end}... methods being called as well).
Do that in a QSortFilterProxyModel instead?
Comment Actions
Do that in a QSortFilterProxyModel instead?
I think it's 'overkill' method for this problem. New version of ProvidersModel provide sorted mProviders list during object's lifetime.