mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-02 18:00: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:
@@ -33,7 +33,7 @@ class FileElementCollectionItem : public ElementCollectionItem
|
||||
enum { Type = UserType+2 };
|
||||
int type() const override { return Type;}
|
||||
|
||||
bool setRootPath(QString path, bool set_data = true, bool hide_element = false);
|
||||
bool setRootPath(const QString& path, bool set_data = true, bool hide_element = false);
|
||||
QString fileSystemPath() const;
|
||||
QString dirPath() const;
|
||||
|
||||
@@ -54,7 +54,7 @@ class FileElementCollectionItem : public ElementCollectionItem
|
||||
|
||||
|
||||
private:
|
||||
void setPathName(QString path_name, bool set_data = true, bool hide_element = false);
|
||||
void setPathName(const QString& path_name, bool set_data = true, bool hide_element = false);
|
||||
void populate(bool set_data = true, bool hide_element = false);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user