QString::fromUtf8: remove a stray cast to int
Change-Id: I0dba7ba130c3fa96eda63a0fa1a39c5f0bb863b7 Pick-to: 6.0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
53b7cb1bd7
commit
1ebccf3426
@ -748,7 +748,7 @@ public:
|
||||
#if defined(__cpp_char8_t) || defined(Q_CLANG_QDOC)
|
||||
Q_WEAK_OVERLOAD
|
||||
static inline QString fromUtf8(const char8_t *str, qsizetype size)
|
||||
{ return fromUtf8(reinterpret_cast<const char *>(str), int(size)); }
|
||||
{ return fromUtf8(reinterpret_cast<const char *>(str), size); }
|
||||
#endif
|
||||
static QString fromLocal8Bit(QByteArrayView ba);
|
||||
Q_WEAK_OVERLOAD
|
||||
|
Loading…
Reference in New Issue
Block a user