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/tools/uic/driver.cpp | |
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/tools/uic/driver.cpp')
-rw-r--r-- | src/tools/uic/driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/uic/driver.cpp b/src/tools/uic/driver.cpp index 5a9a862f14..16dc12f277 100644 --- a/src/tools/uic/driver.cpp +++ b/src/tools/uic/driver.cpp @@ -208,7 +208,7 @@ QString Driver::qtify(const QString &name) return qname; } -static bool isAnsiCCharacter(const QChar& c) +static bool isAnsiCCharacter(QChar c) { return (c.toUpper() >= QLatin1Char('A') && c.toUpper() <= QLatin1Char('Z')) || c.isDigit() || c == QLatin1Char('_'); |