diff options
author | Topi Reinio <topi.reinio@digia.com> | 2015-04-15 12:54:59 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@digia.com> | 2015-04-15 13:14:17 +0000 |
commit | c09ff1dbcb50d77b64e47b333fd1ee2f4c6510e7 (patch) | |
tree | 3269d7fd3322cd185a013fca266a6084b1259877 /src | |
parent | 336648aa1b2f5249749068989959238039f44033 (diff) |
qdoc: Don't end sentences with a full stop in requisite tables
This is a minor visual change that stops QDoc from ending the
sentences with a full stop in the tables for class/QML type
requisites (Inherits, Inherited by, etc).
This ensures a uniform look for the table, as some of the
fields were already omitting the full stop.
Change-Id: I37b39ed0a5e273b40b24f24602042194d069ed00
Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/qdoc/generator.cpp | 4 | ||||
-rw-r--r-- | src/tools/qdoc/htmlgenerator.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qdoc/generator.cpp b/src/tools/qdoc/generator.cpp index af6cdf7bd1..55050806ec 100644 --- a/src/tools/qdoc/generator.cpp +++ b/src/tools/qdoc/generator.cpp @@ -213,7 +213,7 @@ void Generator::appendSortedNames(Text& text, const ClassNode* cn, const QList<R foreach (const QString &className, classNames) { text << classMap[className]; - text << separator(index++, classNames.count()); + text << comma(index++, classNames.count()); } } @@ -236,7 +236,7 @@ void Generator::appendSortedQmlNames(Text& text, const Node* base, const NodeLis foreach (const QString &name, names) { text << classMap[name]; - text << separator(index++, names.count()); + text << comma(index++, names.count()); } } diff --git a/src/tools/qdoc/htmlgenerator.cpp b/src/tools/qdoc/htmlgenerator.cpp index 0fc9a30836..f315099f18 100644 --- a/src/tools/qdoc/htmlgenerator.cpp +++ b/src/tools/qdoc/htmlgenerator.cpp @@ -2176,7 +2176,7 @@ void HtmlGenerator::generateRequisites(InnerNode *inner, CodeMarker *marker) else if ((*r).access_ == Node::Private) { text << " (private)"; } - text << separator(index++, classe->baseClasses().count()); + text << comma(index++, classe->baseClasses().count()); } ++r; } |