summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmargins.cpp
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2012-07-19 01:16:38 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-19 12:35:07 +0200
commit0108484908c1fb7bc49938ac39080effa2e6ac72 (patch)
tree1e2f85ec0860c53011e8f0c2e757b8d77a86760c /src/corelib/tools/qmargins.cpp
parentb0ac81dbeafe03c7c396f4df97edb5c1e80d8b2d (diff)
fix "No such ..." in qmargins
Is it more appropriate to rename the parameter in question "margin", as suggested by the documentation, or have the documentation refer to "m", as suggested by the code? Change-Id: I5768ef044164e099ef1db77adda42171799cbf12 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/corelib/tools/qmargins.cpp')
-rw-r--r--src/corelib/tools/qmargins.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qmargins.cpp b/src/corelib/tools/qmargins.cpp
index 41f7dce9a5..f31674674a 100644
--- a/src/corelib/tools/qmargins.cpp
+++ b/src/corelib/tools/qmargins.cpp
@@ -164,7 +164,7 @@ QT_BEGIN_NAMESPACE
\fn QDataStream &operator<<(QDataStream &stream, const QMargins &m)
\relates QMargins
- Writes the given \a margin to the given \a stream and returns a
+ Writes margin \a m to the given \a stream and returns a
reference to the stream.
\sa {Serializing Qt Data Types}
@@ -180,7 +180,7 @@ QDataStream &operator<<(QDataStream &s, const QMargins &m)
\fn QDataStream &operator>>(QDataStream &stream, QMargins &m)
\relates QMargins
- Reads a margin from the given \a stream into the given \a margin
+ Reads a margin from the given \a stream into margin \a m
and returns a reference to the stream.
\sa {Serializing Qt Data Types}