From 432a75604819d9ed4143036c7cafa72106c768e0 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Tue, 18 Oct 2011 16:44:54 +0200 Subject: 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 --- src/tools/uic/driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/uic') 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('_'); -- cgit v1.2.3