diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2011-10-18 16:44:54 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-21 21:05:25 +0100 |
commit | 432a75604819d9ed4143036c7cafa72106c768e0 (patch) | |
tree | 54ed7c217b3b4e22c7066e667f47534d4e025c34 /src/gui/text/qrawfont.h | |
parent | c8160ea1dbb5c20856c9c385053f8e5611a9f4d6 (diff) |
replace 'const QChar &' with 'QChar ' where appropriate
as QChar is actually an ushort and there is no point in taking its
address.
Merge-request: 69
Change-Id: Idcc9d621e5627514ade006aa12a789a88929d48b
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/text/qrawfont.h')
-rw-r--r-- | src/gui/text/qrawfont.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qrawfont.h b/src/gui/text/qrawfont.h index 453f01ff11..5cd996e705 100644 --- a/src/gui/text/qrawfont.h +++ b/src/gui/text/qrawfont.h @@ -127,7 +127,7 @@ public: QFont::HintingPreference hintingPreference); bool supportsCharacter(quint32 ucs4) const; - bool supportsCharacter(const QChar &character) const; + bool supportsCharacter(QChar character) const; QList<QFontDatabase::WritingSystem> supportedWritingSystems() const; QByteArray fontTable(const char *tagName) const; |