diff options
author | Slávek Banko <[email protected]> | 2022-04-20 22:10:02 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-04-21 14:21:16 +0200 |
commit | ab35068aaddf7570706a1dc8538a0775e3c81790 (patch) | |
tree | 8586d4802cf2f37004228543e9ce0693308dd5ca /tdemarkdown/markdown_part.h | |
parent | 819611b11b6f19742a6204c92b3f059c431071bb (diff) | |
download | tdelibs-ab35068aaddf7570706a1dc8538a0775e3c81790.tar.gz tdelibs-ab35068aaddf7570706a1dc8538a0775e3c81790.zip |
TDEMarkdown: Use the file name as the document title.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdemarkdown/markdown_part.h')
-rw-r--r-- | tdemarkdown/markdown_part.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdemarkdown/markdown_part.h b/tdemarkdown/markdown_part.h index 0131553d3..f3e003ec9 100644 --- a/tdemarkdown/markdown_part.h +++ b/tdemarkdown/markdown_part.h @@ -34,7 +34,7 @@ class MarkdownPart : public TDEHTMLPart bool openURL(const KURL& u); /* Parser */ - TQString& parse(MD_CHAR* document); + TQString& parse(MD_CHAR* document, MD_CHAR* title = nullptr); private: TQString m_buffer; |