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:
parent
43fa4b2687
commit
89c65bc8f7
@ -162,7 +162,7 @@ bool QPagedPaintDevice::setPageSize(const QPageSize &pageSize)
|
|||||||
You should not call any painting methods between a call to setPageOrientation()
|
You should not call any painting methods between a call to setPageOrientation()
|
||||||
and newPage() as the wrong paint metrics may be used.
|
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.
|
Returns true if the page orientation was successfully set to \a orientation.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user