Skip to content

Commit

Permalink
Fix documentations string in QPagedPaintDevice
Browse files Browse the repository at this point in the history
pageLayout().pageOrientation() does not exist, but pageLayout().orientation() does.

Pick-to: 5.15
Change-Id: I17a667b18aba284b91972422e604568e2fdbda05
Reviewed-by: Volker Hilsheimer <[email protected]>
  • Loading branch information
nicolasfella committed Sep 12, 2020
1 parent 43fa4b2 commit 89c65bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/painting/qpagedpaintdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 89c65bc

Please sign in to comment.