diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2019-12-02 15:41:51 +0100 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2020-01-09 02:33:08 +0100 |
commit | 22942058aa9c83acb809d0d4c6b78d29a3c33e12 (patch) | |
tree | cb622a1813a52bfa9ab8ae45b1a73f7c8559ae21 /src/widgets/widgets/qtextbrowser.cpp | |
parent | c77efa6d3881554b9e593658fff80acbb8b1388d (diff) |
Doc: Correct qdoc compilation errors qtbase
Task-number: QTBUG-79824
Change-Id: I4be365d92b1adfde09efd04d088f75c506666a95
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/widgets/widgets/qtextbrowser.cpp')
-rw-r--r-- | src/widgets/widgets/qtextbrowser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qtextbrowser.cpp b/src/widgets/widgets/qtextbrowser.cpp index 3e49390315..d0ccd435b3 100644 --- a/src/widgets/widgets/qtextbrowser.cpp +++ b/src/widgets/widgets/qtextbrowser.cpp @@ -823,7 +823,7 @@ void QTextBrowser::setSource(const QUrl &url) /*! Attempts to load the document at the given \a url with the specified \a type. - If \a type is \l {QTextDocument::ResourceType::UnknownResource}{UnknownResource} + If \a type is \l {QTextDocument::UnknownResource}{UnknownResource} (the default), the document type will be detected: that is, if the url ends with an extension of \c{.md}, \c{.mkd} or \c{.markdown}, the document will be loaded via \l QTextDocument::setMarkdown(); otherwise it will be loaded via |