Skip to content
Commit 06a75822 authored by Stefan Brüns's avatar Stefan Brüns
Browse files

Avoid indirection when inserting basic data

Summary:
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().

Test Plan: ctest

Reviewers: #baloo, #frameworks, astippich, ngraham

Reviewed By: #baloo, ngraham

Tags: #baloo

Differential Revision: https://phabricator.kde.org/D20477
parent cdc5d2c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment