summaryrefslogtreecommitdiffstats
path: root/src/assistant/assistant/aboutdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/assistant/assistant/aboutdialog.h')
-rw-r--r--src/assistant/assistant/aboutdialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/assistant/assistant/aboutdialog.h b/src/assistant/assistant/aboutdialog.h
index b791a4891..720292d7b 100644
--- a/src/assistant/assistant/aboutdialog.h
+++ b/src/assistant/assistant/aboutdialog.h
@@ -49,7 +49,12 @@ public:
private:
QVariant loadResource(int type, const QUrl &name) override;
+
+#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
void setSource(const QUrl &url) override;
+#else
+ void doSetSource(const QUrl &name, QTextDocument::ResourceType type) override;
+#endif
QMap<QString, QByteArray> m_resourceMap;
};