Doc: Get QDoc to not display the \qtvariable if it is empty.
Change-Id: I5cd2cff23b56180e7bfec7cae84104a16f47fc79 Reviewed-by: Martin Smith <martin.smith@digia.com>bb10
parent
f5841521a4
commit
3ead44fcac
|
|
@ -1936,7 +1936,7 @@ void HtmlGenerator::generateRequisites(InnerNode *inner, CodeMarker *marker)
|
|||
|
||||
//add the QT variable to the map
|
||||
DocNode * moduleNode = qdb_->findModule(classe->moduleName());
|
||||
if (moduleNode || !moduleNode->qtVariable().isEmpty()) {
|
||||
if (moduleNode && !moduleNode->qtVariable().isEmpty()) {
|
||||
text.clear();
|
||||
text << Atom(Atom::FormattingLeft, ATOM_FORMATTING_TELETYPE)
|
||||
<< "QT += " + moduleNode->qtVariable()
|
||||
|
|
|
|||
Loading…
Reference in New Issue