diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-11-11 08:50:30 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-11-11 08:50:30 (GMT) |
commit | 749632c12feb8a43594d52309ea630c2bc8c5161 (patch) | |
tree | 7f01814bf123ab609230dfdff331323140796f91 /tools/qdoc3/htmlgenerator.cpp | |
parent | d7da33a914a7e84ebf38cbb3244aac936838ecb1 (diff) | |
download | Qt-749632c12feb8a43594d52309ea630c2bc8c5161.zip Qt-749632c12feb8a43594d52309ea630c2bc8c5161.tar.gz Qt-749632c12feb8a43594d52309ea630c2bc8c5161.tar.bz2 |
qdoc: Fixed virtualness and constness of the fileBase() function.
Task-number: QTBUG-13939
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index 9e45f8c..76ee4e8 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -3413,7 +3413,7 @@ QString HtmlGenerator::protect(const QString &string, const QString &outputEncod #undef APPEND } -QString HtmlGenerator::fileBase(const Node *node) +QString HtmlGenerator::fileBase(const Node *node) const { QString result; @@ -3544,8 +3544,11 @@ QString HtmlGenerator::linkForNode(const Node *node, const Node *relative) return QString(); fn = fileName(node); -/* if (!node->url().isEmpty()) - return fn;*/ +#if 0 + if (!node->url().isEmpty()) + return fn; +#endif + #if 0 // ### reintroduce this test, without breaking .dcf files if (fn != outFileName()) |