CSelectResourcePanel: Elide copies where applicable

We can just pass by const reference.
This commit is contained in:
Lioncache
2025-12-03 15:43:19 -05:00
parent b13ebc56bb
commit f34886a76e
2 changed files with 4 additions and 4 deletions

View File

@@ -26,8 +26,8 @@ public:
public slots:
void FocusChanged(QWidget *pOld, QWidget *pNew);
void SearchStringChanged(QString SearchString);
void ResourceClicked(QModelIndex Index);
void SearchStringChanged(const QString& SearchString);
void ResourceClicked(const QModelIndex& Index);
};
#endif // CSELECTRESOURCEPANEL_H