forked from qt-creator/qt-creator
fix QCoreApplication::translate usage in cppchecksymbols.cpp
Change-Id: I4fdae811af1efde50705d857f222866af188885c Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1282,9 +1282,9 @@ bool CheckSymbols::maybeAddFunction(const QList<LookupItem> &candidates, NameAST
|
||||
|
||||
// Add a diagnostic message if argument count does not match
|
||||
if (matchType == Match_TooFewArgs)
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments", 0, length));
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments"), length);
|
||||
else if (matchType == Match_TooManyArgs)
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments", 0, length));
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments"), length);
|
||||
|
||||
const Use use(line, column, length, kind);
|
||||
addUse(use);
|
||||
|
||||
Reference in New Issue
Block a user