summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-05-18 20:00:23 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-23 23:30:33 +0200
commit06c89ae026d5a3579636d8a090cf546b23273bed (patch)
tree8e69873d0a303d3e080f8bc99ca80c1b5f1b60cd /src/tools/qdoc/cppcodeparser.cpp
parentc00bd8d6776e95283831db1c14b7d23ac6be5840 (diff)
Use QStringList::join(QChar) overload where applicable [tools]
This is an automated change performing the following replacements: join\("(.)"\) -> join('\1') join\(QLatin1String\("(.)"\)\) -> join(QLatin1Char('\1')) join\(QStringLiteral\("(.)"\)\) -> join(QLatin1Char('\1')) Change-Id: Ia087beb886bbaec1a0976cd924440d8904044879 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/tools/qdoc/cppcodeparser.cpp')
-rw-r--r--src/tools/qdoc/cppcodeparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdoc/cppcodeparser.cpp b/src/tools/qdoc/cppcodeparser.cpp
index 0022b0e3ca..de7b833ff7 100644
--- a/src/tools/qdoc/cppcodeparser.cpp
+++ b/src/tools/qdoc/cppcodeparser.cpp
@@ -104,7 +104,7 @@ void CppCodeParser::initializeParser(const Config &config)
CONFIG_EXAMPLES + Config::dot + CONFIG_FILEEXTENSIONS);
if (!exampleFilePatterns.isEmpty())
- exampleNameFilter = exampleFilePatterns.join(" ");
+ exampleNameFilter = exampleFilePatterns.join(' ');
else
exampleNameFilter = "*.cpp *.h *.js *.xq *.svg *.xml *.dita *.ui";
@@ -112,7 +112,7 @@ void CppCodeParser::initializeParser(const Config &config)
CONFIG_EXAMPLES + Config::dot + CONFIG_IMAGEEXTENSIONS);
if (!exampleImagePatterns.isEmpty())
- exampleImageFilter = exampleImagePatterns.join(" ");
+ exampleImageFilter = exampleImagePatterns.join(' ');
else
exampleImageFilter = "*.png";
}