QDoc: Only print modulename::type on collision pages.

Change-Id: I090698b106456370f6c0982006243304f87dc70c
Reviewed-by: Martin Smith <martin.smith@nokia.com>
This commit is contained in:
Casper van Donderen 2012-06-07 13:43:19 +02:00 committed by Qt by Nokia
parent 271b484b00
commit 7525e85798
1 changed files with 2 additions and 3 deletions

View File

@ -622,9 +622,8 @@ QString Generator::fullName(const Node *node,
if (node->type() == Node::Fake) {
const FakeNode* fn = static_cast<const FakeNode *>(node);
// Removed for QTBUG-22870
// Unremoved by mws 30/03/12
if (!fn->qmlModuleIdentifier().isEmpty())
// Only print modulename::type on collision pages.
if (!fn->qmlModuleIdentifier().isEmpty() && relative != 0 && relative->isCollisionNode())
return fn->qmlModuleIdentifier() + "::" + fn->title();
return fn->title();