Apply fixes to simple clazy warnings
Summary:
Use const methods to prevent container from detaching
KHistoryComboBox: reserve list before populating it
Reviewers: dfaure
Reviewed By: dfaure
Subscribers: Frameworks
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D10927