diff options
author | Martin Smith <msmith@trolltech.com> | 2009-06-03 08:53:11 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-06-03 12:07:20 (GMT) |
commit | 94376c5ab5caf1889caef29db66f981e34e7c4d5 (patch) | |
tree | 6fa8801c282b7ddb6afa3be832afdd08b80909b1 /tools/qdoc3 | |
parent | a6cb0edd2f8f69ea7b878d65756d47ed166f4224 (diff) | |
download | Qt-94376c5ab5caf1889caef29db66f981e34e7c4d5.zip Qt-94376c5ab5caf1889caef29db66f981e34e7c4d5.tar.gz Qt-94376c5ab5caf1889caef29db66f981e34e7c4d5.tar.bz2 |
qdoc: Fixed constructor position in summary lists.
The constructors had been displayed in the left column of the
table in the summary list, because there was no type. It was
caused by a strange test of the match index for 0, which was
true for constructors and destructors, anything without a type.
I removed that test, since I couldn't figure out what it was
for. We might see problems elsewhere in the docs because of
this, so beware. I didn't see any, but that test must have
been there for some reason.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index 4e4261f..db70862 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -2317,7 +2317,7 @@ QString HtmlGenerator::highlightedCode(const QString& markedCode, static const QString linkTag("link"); for (int i = 0, n = src.size(); i < n;) { if (src.at(i) == charLangle && src.at(i + 1).unicode() == '@') { - if (nameAlignment && (i != 0)) + if (nameAlignment) // && (i != 0)) Why was this here? html += " </td><td class=\"memItemRight\" valign=\"bottom\">"; i += 2; if (parseArg(src, linkTag, &i, n, &arg, &par1)) { |