From 5fe166ab41ed3d5f1755dca2a0a20f3dd6598008 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Tue, 21 May 2024 18:09:18 +0200 Subject: [PATCH] PDF: add a comment to what otherwise looks like an unused method I'm not 100% sure we still support WebKit, still leave a note. This work has been kindly sponsored by the QGIS project (https://qgis.org/). Change-Id: I45d4351fd4a106763f26685a5510ed630d752745 Reviewed-by: Tobias Koenig Reviewed-by: Volker Hilsheimer --- src/gui/painting/qpdf.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/painting/qpdf.cpp b/src/gui/painting/qpdf.cpp index 38f2a9b803..ccb8148d72 100644 --- a/src/gui/painting/qpdf.cpp +++ b/src/gui/painting/qpdf.cpp @@ -1035,6 +1035,7 @@ void QPdfEngine::drawTextItem(const QPointF &p, const QTextItem &textItem) *d->currentPage << "Q\n"; } +// Used by QtWebKit void QPdfEngine::drawHyperlink(const QRectF &r, const QUrl &url) { Q_D(QPdfEngine);