diff options
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
-rw-r--r-- | src/qdoc/clangcodeparser.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp index f4a6e491b..240e0759b 100644 --- a/src/qdoc/clangcodeparser.cpp +++ b/src/qdoc/clangcodeparser.cpp @@ -1381,14 +1381,7 @@ void ClangCodeParser::buildPCH(QString module_header) if (type_ != Any && !p.endsWith(module_)) return false; candidate_ = p + "/"; - switch (type_) { - case Any: - case Module: - candidate_.append(module_); - break; - default: - break; - } + candidate_.append(module_); if (p.startsWith("-I")) candidate_ = candidate_.mid(2); return QFile::exists(QString::fromUtf8(candidate_)); |