fix build with QT_NO_CAST_FROM_ASCII
necessary for use outside qmake itself.
amends f137957e08
.
Change-Id: Ie069f7b6efc969ab112e1f0ecd966eb06248fb94
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
parent
13e7c603d5
commit
1df4b2a360
@ -208,9 +208,9 @@ inline QString operator+(const QString &one, const ProString &two)
|
||||
{ return ProString(one) + two; }
|
||||
|
||||
inline QString operator+(const ProString &one, const char *two)
|
||||
{ QString ret = one.toQStringRef() + two; ret.detach(); return ret; }
|
||||
{ QString ret = one.toQStringRef() + QLatin1String(two); ret.detach(); return ret; }
|
||||
inline QString operator+(const char *one, const ProString &two)
|
||||
{ QString ret = one + two.toQStringRef(); ret.detach(); return ret; }
|
||||
{ QString ret = QLatin1String(one) + two.toQStringRef(); ret.detach(); return ret; }
|
||||
inline QString operator+(const ProString &one, QChar two)
|
||||
{ return one.toQStringRef() + two; }
|
||||
inline QString operator+(QChar one, const ProString &two)
|
||||
|
Loading…
Reference in New Issue
Block a user