mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Apply clang-tidy's performance-unnecessary-value-param, performance-for-
range-copy git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -174,7 +174,7 @@ QTreeWidgetItem *ElementsPanel::updateTemplateItem(QTreeWidgetItem *tb_template_
|
||||
/**
|
||||
@return true if \a item matches the filter, false otherwise
|
||||
*/
|
||||
bool ElementsPanel::matchesFilter(const QTreeWidgetItem *item, QString filter) const {
|
||||
bool ElementsPanel::matchesFilter(const QTreeWidgetItem *item, const QString& filter) const {
|
||||
if (!item) return(false);
|
||||
|
||||
// no filter => we consider the item matches
|
||||
|
||||
Reference in New Issue
Block a user