mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +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:
@@ -129,7 +129,7 @@ bool LinkElementCommand::isLinkable(Element *element_a, Element *element_b, bool
|
||||
* This method do several check to know if element can be linked or not.
|
||||
* @param element_list
|
||||
*/
|
||||
void LinkElementCommand::setLink(QList<Element *> element_list)
|
||||
void LinkElementCommand::setLink(const QList<Element *>& element_list)
|
||||
{
|
||||
m_linked_after.clear();
|
||||
setUpNewLink(element_list, true);
|
||||
|
||||
Reference in New Issue
Block a user