diff options
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r-- | src/ftvhelp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp index 76f31ab..dee8c0b 100644 --- a/src/ftvhelp.cpp +++ b/src/ftvhelp.cpp @@ -885,7 +885,8 @@ static void generateBriefDoc(FTextStream &t,Definition *def) { DocNode *root = validatingParseDoc(def->briefFile(),def->briefLine(), def,0,brief,FALSE,FALSE,0,TRUE,TRUE); - HtmlGenerator htmlGen; + QCString relPath = relativePathToRoot(def->getOutputFileBase()); + HtmlCodeGenerator htmlGen(t,relPath); HtmlDocVisitor *visitor = new HtmlDocVisitor(t,htmlGen,0); root->accept(visitor); delete visitor; @@ -1257,6 +1258,8 @@ static void generateJSNavTree(const QList<FTVNode> &nodeList) tsidx << "};" << endl; t << endl << "];" << endl; } + t << endl << "var SYNCONMSG = '" << theTranslator->trPanelSynchronisationTooltip(FALSE) << "';"; + t << endl << "var SYNCOFFMSG = '" << theTranslator->trPanelSynchronisationTooltip(TRUE) << "';"; t << endl << navtree_script; } } |