diff --git a/src/core/tools/qregexp.h b/src/core/tools/qregexp.h index 5015431d0..d6fa4762f 100644 --- a/src/core/tools/qregexp.h +++ b/src/core/tools/qregexp.h @@ -59,7 +59,7 @@ public: QRegExp(); explicit QRegExp(const QString &pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, - PatternSyntax syntax = RegExp); + PatternSyntax syntax = RegExp); QRegExp(const QRegExp &rx); ~QRegExp(); QRegExp &operator=(const QRegExp &rx); diff --git a/src/core/tools/qstringlist.cpp b/src/core/tools/qstringlist.cpp index 2e5ea95ed..d8252f2a7 100644 --- a/src/core/tools/qstringlist.cpp +++ b/src/core/tools/qstringlist.cpp @@ -368,7 +368,7 @@ QString QStringList::join(const QString &sep) const QString res; if (totalLength == 0) - return res; + return res; res.reserve(totalLength); for (int i = 0; i < size(); ++i) { if (i)