diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2011-10-18 16:44:54 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-26 19:59:36 +0200 |
commit | 42402a1672ba47457c27cc6efacb763030f0121a (patch) | |
tree | 951b8d8bb8b3371cea99a3da09411912affa55e5 /src/corelib/tools/qchar.cpp | |
parent | 82d6518696cdfeec88b7bdbffccc5b1521c18785 (diff) |
replace 'const QChar &' with 'QChar ' for QChar and QString
Merge-request: 69
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Change-Id: I61f5a54b783252029fcad95677958fa6a2130d01
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
Diffstat (limited to 'src/corelib/tools/qchar.cpp')
-rw-r--r-- | src/corelib/tools/qchar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qchar.cpp b/src/corelib/tools/qchar.cpp index 5482cdb5a2..ec4b0cce58 100644 --- a/src/corelib/tools/qchar.cpp +++ b/src/corelib/tools/qchar.cpp @@ -1308,7 +1308,7 @@ QChar QChar::fromAscii(char c) \sa {Serializing Qt Data Types} */ -QDataStream &operator<<(QDataStream &out, const QChar &chr) +QDataStream &operator<<(QDataStream &out, QChar chr) { out << quint16(chr.unicode()); return out; |