mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40: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:
@@ -615,7 +615,7 @@ void QETTitleBlockTemplateEditor::writeSettings()
|
||||
Update various things when user changes the selected cells.
|
||||
@param selected_cells List of selected cells.
|
||||
*/
|
||||
void QETTitleBlockTemplateEditor::selectedCellsChanged(QList<TitleBlockCell *> selected_cells) {
|
||||
void QETTitleBlockTemplateEditor::selectedCellsChanged(const QList<TitleBlockCell *>& selected_cells) {
|
||||
if (selected_cells.count() == 1) {
|
||||
template_cell_editor_widget_ -> edit(selected_cells.at(0));
|
||||
template_cell_editor_widget_ -> setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user