From ac090486c4ad354c5bb7fa7b7c621411655cf4cf Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Thu, 19 Apr 2012 21:34:42 +0200 Subject: [PATCH] QDoc: Remove the text around previous and next page links. Previously we printed "[Previous: ] and [Next: ]. After this change we only print the , which should include an icon. Change-Id: I30d0c7d53b70ec2e537774d57a4ac9af01b26b16 Reviewed-by: Martin Smith Reviewed-by: Leena Miettinen --- src/tools/qdoc/htmlgenerator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tools/qdoc/htmlgenerator.cpp b/src/tools/qdoc/htmlgenerator.cpp index 7d9f3c00be..7d82713d72 100644 --- a/src/tools/qdoc/htmlgenerator.cpp +++ b/src/tools/qdoc/htmlgenerator.cpp @@ -1876,12 +1876,12 @@ void HtmlGenerator::generateHeader(const QString& title, out() << " \n"; - navigationLinks += "[Previous: "; + navigationLinks += ""; if (linkPair.first == linkPair.second && !anchorPair.second.isEmpty()) navigationLinks += protect(anchorPair.second); else navigationLinks += protect(linkPair.second); - navigationLinks += "]\n"; + navigationLinks += "\n"; } if (node->links().contains(Node::NextLink)) { linkPair = node->links()[Node::NextLink]; @@ -1894,12 +1894,12 @@ void HtmlGenerator::generateHeader(const QString& title, out() << " \n"; - navigationLinks += "[Next: "; + navigationLinks += ""; if (linkPair.first == linkPair.second && !anchorPair.second.isEmpty()) navigationLinks += protect(anchorPair.second); else navigationLinks += protect(linkPair.second); - navigationLinks += "]\n"; + navigationLinks += "\n"; } if (node->links().contains(Node::StartLink)) { linkPair = node->links()[Node::StartLink];