From 68a48daf1fd0063b32d4bafc7db006ef3e386903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 12 Jul 2019 08:27:10 +0200 Subject: [PATCH] Fix Cppcheck warning --- gui/projectfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/projectfile.h b/gui/projectfile.h index 24356988a..0ad9a321a 100644 --- a/gui/projectfile.h +++ b/gui/projectfile.h @@ -312,7 +312,7 @@ public: QStringList getCheckUnknownFunctionReturn() const { return mCheckUnknownFunctionReturn; } - void setCheckUnknownFunctionReturn(QStringList s) { + void setCheckUnknownFunctionReturn(const QStringList &s) { mCheckUnknownFunctionReturn = s; }