From 89c65bc8f7e4c9ab8198fba08eb1ef6f7f5184d2 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Fri, 11 Sep 2020 11:10:43 +0200 Subject: Fix documentations string in QPagedPaintDevice pageLayout().pageOrientation() does not exist, but pageLayout().orientation() does. Pick-to: 5.15 Change-Id: I17a667b18aba284b91972422e604568e2fdbda05 Reviewed-by: Volker Hilsheimer --- src/gui/painting/qpagedpaintdevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/painting/qpagedpaintdevice.cpp') diff --git a/src/gui/painting/qpagedpaintdevice.cpp b/src/gui/painting/qpagedpaintdevice.cpp index 5e83144885..25295e7a60 100644 --- a/src/gui/painting/qpagedpaintdevice.cpp +++ b/src/gui/painting/qpagedpaintdevice.cpp @@ -162,7 +162,7 @@ bool QPagedPaintDevice::setPageSize(const QPageSize &pageSize) You should not call any painting methods between a call to setPageOrientation() and newPage() as the wrong paint metrics may be used. - To get the current QPageLayout::Orientation use pageLayout().pageOrientation(). + To get the current QPageLayout::Orientation use pageLayout().orientation(). Returns true if the page orientation was successfully set to \a orientation. -- cgit v1.2.3