From 8ecbb39dc6303fcf3ae36ad033d7e90ea29b9003 Mon Sep 17 00:00:00 2001 From: Loren Burkholder <55629213+LorenDB@users.noreply.github.com> Date: Mon, 3 Oct 2022 17:57:30 -0400 Subject: cppcheck stuff (#1200) * cppcheck stuff * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X * Fix linting Co-authored-by: DeepBlueV7.X --- src/CompletionProxyModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CompletionProxyModel.h') diff --git a/src/CompletionProxyModel.h b/src/CompletionProxyModel.h index e4a1b9cd..0a6d6c47 100644 --- a/src/CompletionProxyModel.h +++ b/src/CompletionProxyModel.h @@ -182,7 +182,7 @@ public: public slots: QVariant completionAt(int i) const; - void setSearchString(QString s); + void setSearchString(const QString &s); QString searchString() const { return searchString_; } signals: -- cgit 1.5.1