diff options
author | Nicolas Fella <nicolas.fella@kdab.com> | 2020-09-11 11:10:43 +0200 |
---|---|---|
committer | Nicolas Fella <nicolas.fella@kdab.com> | 2020-09-12 08:43:18 +0200 |
commit | 89c65bc8f7e4c9ab8198fba08eb1ef6f7f5184d2 (patch) | |
tree | 2222517b40c301efe6440e65f8301db87955a8b2 /src | |
parent | 43fa4b26870daffd4d44a42941bad141f6594db4 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qpagedpaintdevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |