summaryrefslogtreecommitdiff
path: root/src/core/api/qwebenginepage.cpp
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2021-11-30 13:01:39 +0100
committerKirill Burtsev <kirill.burtsev@qt.io>2022-01-02 22:35:31 +0100
commit02d58a067fb5f0db32c254e783170f9f283aeb9d (patch)
treed9f0f4ac82ff976d1e4f59caa1d0e29ecd48dcc8 /src/core/api/qwebenginepage.cpp
parent1552ad5d3e66460bbbb5bbd71ca2083fb9d17d3f (diff)
downloadqtwebengine-02d58a067fb5f0db32c254e783170f9f283aeb9d.tar.gz
Cleanup code and clang build warnings
Fix build noise as reported by clang for issues like api deprecation, unused variables, sign/unsigned mismatch and other non critical issues. Pick-to: 6.2 Change-Id: I4fba25406eea8170e3283c42e908ae86bd512e3a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/api/qwebenginepage.cpp')
-rw-r--r--src/core/api/qwebenginepage.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/api/qwebenginepage.cpp b/src/core/api/qwebenginepage.cpp
index 758bf3905..8e03aea0d 100644
--- a/src/core/api/qwebenginepage.cpp
+++ b/src/core/api/qwebenginepage.cpp
@@ -456,8 +456,6 @@ void QWebEnginePagePrivate::didFetchDocumentInnerText(quint64 requestId, const Q
void QWebEnginePagePrivate::didPrintPage(quint64 requestId, QSharedPointer<QByteArray> result)
{
#if QT_CONFIG(webengine_printing_and_pdf)
- Q_Q(QWebEnginePage);
-
// If no currentPrinter is set that means that were printing to PDF only.
if (!currentPrinter) {
if (!result.data())