From df388cfcd7a0aceb7b9a6199894dbbc68042a4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Tue, 10 Nov 2009 15:10:45 +0100 Subject: 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 --- tools/qdoc3/htmlgenerator.cpp | 8 ++++---- 1 file 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, << " "; } out() << "\n"; - + + out() << ""; 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() << ""; // Previously, we used generateFullName() for this, but we // require some special formatting. out() << "parent(), relative, marker); out() << ")"; } - out() << "\n"; - } + } + out() << "\n"; currentOffset[i]++; currentOffsetInParagraph[i]++; -- cgit v0.12