From: Thiago Macieira Date: Sun, 23 Dec 2012 02:20:47 +0000 (-0800) Subject: Fix warnings found by the headersclean test X-Git-Tag: accepted/tizen/20131212.181521~128^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a12d28c0e060ddc47e9f70b499236c5af065c205;p=platform%2Fupstream%2Fqttools.git Fix warnings found by the headersclean test qhelpsearchengine.h:71:9: error: declaration of 'wordList' shadows a member of 'this' [-Werror=shadow] Change-Id: I3d0d6216276c9c06091d0f726c8513cc52da1885 Reviewed-by: Karsten Heimrich --- diff --git a/src/assistant/help/qhelpsearchengine.h b/src/assistant/help/qhelpsearchengine.h index b95ca5f..3c158c0 100644 --- a/src/assistant/help/qhelpsearchengine.h +++ b/src/assistant/help/qhelpsearchengine.h @@ -67,8 +67,8 @@ public: QHelpSearchQuery() : fieldName(DEFAULT) { wordList.clear(); } - QHelpSearchQuery(FieldName field, const QStringList &wordList) - : fieldName(field), wordList(wordList) {} + QHelpSearchQuery(FieldName field, const QStringList &wordList_) + : fieldName(field), wordList(wordList_) {} FieldName fieldName; QStringList wordList;