diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-11-10 14:10:45 (GMT) |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-11-10 14:59:23 (GMT) |
commit | df388cfcd7a0aceb7b9a6199894dbbc68042a4c4 (patch) | |
tree | c84fa3f34b5cd973db0a0ba6939f0f5f5ead8778 /tools | |
parent | 2c0ed8ac004efb03d347ad0ad5e5a9fa25506df1 (diff) | |
download | Qt-df388cfcd7a0aceb7b9a6199894dbbc68042a4c4.zip Qt-df388cfcd7a0aceb7b9a6199894dbbc68042a4c4.tar.gz Qt-df388cfcd7a0aceb7b9a6199894dbbc68042a4c4.tar.bz2 |
Fixed border around classes table at the bottom-right
The border was not showing up because the last row was missing cells if
the number of classes is not perfectly dividable by the number of
columns.
This patch makes sure that empty cells are generated so the CSS can
style them.
Reviewed-by: Martin Smith <msmith@trolltech.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index afd1e74..81b5ed8 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -2300,7 +2300,8 @@ void HtmlGenerator::generateCompactList(const Node *relative, << " </b>"; } out() << "</td>\n"; - + + out() << "<td>"; if ((currentParagraphNo[i] < NumParagraphs) && !paragraphName[currentParagraphNo[i]].isEmpty()) { NodeMap::Iterator it; @@ -2308,7 +2309,6 @@ void HtmlGenerator::generateCompactList(const Node *relative, for (j = 0; j < currentOffsetInParagraph[i]; j++) ++it; - out() << "<td>"; // Previously, we used generateFullName() for this, but we // require some special formatting. out() << "<a href=\"" @@ -2322,8 +2322,8 @@ void HtmlGenerator::generateCompactList(const Node *relative, generateFullName(it.value()->parent(), relative, marker); out() << ")"; } - out() << "</td>\n"; - } + } + out() << "</td>\n"; currentOffset[i]++; currentOffsetInParagraph[i]++; |