Skip to content

Commit

Permalink
QDoc: Fixed section title offset in QML basic type pages.
Browse files Browse the repository at this point in the history
-QML basic type page layout is now separate from the other
 doc page layouts, but the section offset was incorrect.
-the offset is the same as the QML type pages.

Change-Id: I422e97eebe58a87c11607f2c8c5aedb10abbda7e
Task-number: QTBUG-40335
Reviewed-by: Martin Smith <[email protected]>
  • Loading branch information
jeromepasion committed Jul 23, 2014
1 parent bd9d1f8 commit b5b4eb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/qdoc/htmlgenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3922,6 +3922,7 @@ int HtmlGenerator::hOffset(const Node *node)
case Node::Namespace:
case Node::Class:
return 2;
case Node::QmlBasicType:
case Node::QmlType:
case Node::Document:
return 1;
Expand Down

0 comments on commit b5b4eb7

Please sign in to comment.