qdoc: Remove zero-width-space characters from function signatures

The extra character was added in 5.4.0 to allow web browsers to
break up long function signatures in a nice manner. However, not
every browser supports it, and it causes problems in some code
editors when copy-pasting the code.

Change-Id: If6a52b92d683788c5e32f40bb8c280d76112723e
Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
Topi Reinio 2014-12-17 13:04:52 +01:00 committed by Topi Reiniö
parent 15cc31c013
commit 9290383a1e

View File

@ -136,7 +136,7 @@ QString CppCodeMarker::markedUpSynopsis(const Node *node,
if ((style == Detailed) && !node->parent()->name().isEmpty() && if ((style == Detailed) && !node->parent()->name().isEmpty() &&
(node->type() != Node::Property) && !node->isQmlNode()) (node->type() != Node::Property) && !node->isQmlNode())
name.prepend(taggedNode(node->parent()) + "::&#8203;"); name.prepend(taggedNode(node->parent()) + "::");
switch (node->type()) { switch (node->type()) {
case Node::Namespace: case Node::Namespace: