From: Jeremy Katz Date: Wed, 18 Jul 2012 23:16:38 +0000 (+0200) Subject: fix "No such ..." in qmargins X-Git-Tag: v5.0.0-beta1~707 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0108484908c1fb7bc49938ac39080effa2e6ac72;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/src/corelib/tools/qmargins.cpp b/src/corelib/tools/qmargins.cpp index 41f7dce..f316746 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}