summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginepage.cpp')
-rw-r--r--src/core/api/qwebenginepage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/api/qwebenginepage.cpp b/src/core/api/qwebenginepage.cpp
index c125b3aca..c72523c7f 100644
--- a/src/core/api/qwebenginepage.cpp
+++ b/src/core/api/qwebenginepage.cpp
@@ -286,7 +286,7 @@ void QWebEnginePagePrivate::printToPdf(std::function<void(QSharedPointer<QByteAr
quint64 frameId)
{
adapter->printToPDFCallbackResult(std::move(callback), layout, ranges, /*colorMode*/ true,
- /*useCustomMargins*/ true, frameId);
+ frameId);
}
void QWebEnginePagePrivate::didPrintPageToPdf(const QString &filePath, bool success)