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.