diff options
author | Ömer Fadıl USTA <omerusta@gmail.com> | 2020-09-17 04:19:49 +0300 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-17 09:27:53 +0200 |
commit | 8d8b271fe9cd838f2975392ca9856ac19803f0b6 (patch) | |
tree | 19733cd82b6bb0074504b09cc01e935158630e6b /src/gui/painting/qpagedpaintdevice.cpp | |
parent | fe3bebbd68e9b0eca1b4cef8671853ed4ff630d2 (diff) |
Fix deprecation documentation about margin and orientation in QPrinter
There were a small typos about those methods and fixed with correct ones.
Fixes: QTBUG-86635
Change-Id: Ib853e502fdcdafdf3ddf7ef6d25d368ebc2a631f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/painting/qpagedpaintdevice.cpp')
-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 25295e7a60..9d09fb6f04 100644 --- a/src/gui/painting/qpagedpaintdevice.cpp +++ b/src/gui/painting/qpagedpaintdevice.cpp @@ -184,7 +184,7 @@ bool QPagedPaintDevice::setPageOrientation(QPageLayout::Orientation orientation) You should not call any painting methods between a call to setPageMargins() and newPage() as the wrong paint metrics may be used. - To get the current page margins use pageLayout().pageMargins(). + To get the current page margins use pageLayout().margins(). Returns true if the page margins were successfully set to \a margins. |