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 <volker.hilsheimer@qt.io>
This commit is contained in:
Nicolas Fella 2020-09-11 11:10:43 +02:00
parent 43fa4b2687
commit 89c65bc8f7

View File

@ -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.