When queried for the custom data roles, always delegate to the
custom VcsStatusInfoItem. This fixes an issue uncovered by the test,
where the QStandardItem holding the icon and path is returned
instead of the VcsStatusInfoItem. This item has no knowledge of the
custom data roles, and thus always returns invalid QVariants then.
Details
Details
- Reviewers
- None
- Group Reviewers
KDevelop
Works now
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Branch
- 5.0
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Sorry! I forgot there was a patch on Phab :)
commit 2a8c90b5ec8450dc67376ed1838054e8b261ac3e
Author: Kevin Funk <kfunk@kde.org>
Date: Mon Feb 15 22:19:47 2016 +0100
Fix TestModels test