When setFileItem() is called, m_fileItems.size() is always 1, for
setFileItems() there are always multiple elements, thus it is known which
branch of insertBasicData() will be taken. Just call the corresponding
target method directly, and remove the unused private insertBasicData().
Details
Details
- Reviewers
astippich ngraham - Group Reviewers
Baloo Frameworks - Commits
- R824:06a75822671b: Avoid indirection when inserting basic data
ctest
Diff Detail
Diff Detail
- Repository
- R824 Baloo Widgets
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.