Created new role ''GroupHiddenRole' for 'KPlacesModel'
Details
Details
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
you could reduce the code duplication by adding a loop. Note that you can even write something like this:
for (auto type : {type1, type2, type3}) { .... }
autotests/kfileplacesmodeltest.cpp | ||
---|---|---|
1242 | nest this in an outer loop over the group types to share most of the code |