diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-09 10:50:00 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-29 12:46:41 +0200 |
commit | 6b2f32f3dc9de965801927a4bc5d970028a318a6 (patch) | |
tree | f62db38cfe9aa441b4bcb877ccc8f4bcbeb7974a /src/assistant/assistant/helpviewer.h | |
parent | f7a50cab668c27ab8e17be96add02e515e9b1681 (diff) |
Fix Qt6 build
Change-Id: Ie413ca2e2f81ac0e92628ffd2f3e93047a91bd0c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/assistant/assistant/helpviewer.h')
-rw-r--r-- | src/assistant/assistant/helpviewer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/assistant/assistant/helpviewer.h b/src/assistant/assistant/helpviewer.h index 00e941000..1b4f23a9a 100644 --- a/src/assistant/assistant/helpviewer.h +++ b/src/assistant/assistant/helpviewer.h @@ -82,7 +82,11 @@ public: void setTitle(const QString &title); QUrl source() const; +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) void setSource(const QUrl &url) TEXTBROWSER_OVERRIDE; +#else + void doSetSource(const QUrl &url, QTextDocument::ResourceType type) TEXTBROWSER_OVERRIDE; +#endif QString selectedText() const; bool isForwardAvailable() const; |