diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-08 14:54:18 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-11 14:23:26 +0200 |
commit | 748e759df8cb17e26f155734e62b360d711e867e (patch) | |
tree | 78b88dc58a1f61d7fbdb3867b8167e54af32bf89 /src/corelib/io/qdir.h | |
parent | b49f7e064c648f7de9782f1a5bbd652429db8e5b (diff) |
QtCore: stop using QLatin1Char constructor for creating char literals
Required for porting away from QLatin1Char/QLatin1String in scope of
QTBUG-98434.
Change-Id: Ibe32a11699f67df2aa80505ba2944f33e5e823e0
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/io/qdir.h')
-rw-r--r-- | src/corelib/io/qdir.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/io/qdir.h b/src/corelib/io/qdir.h index 7d7a483eae..9fd144c667 100644 --- a/src/corelib/io/qdir.h +++ b/src/corelib/io/qdir.h @@ -225,18 +225,18 @@ public: constexpr static inline QChar listSeparator() noexcept { #if defined(Q_OS_WIN) - return QLatin1Char(';'); + return u';'; #else - return QLatin1Char(':'); + return u':'; #endif } static QChar separator() { #if defined(Q_OS_WIN) - return QLatin1Char('\\'); + return u'\\'; #else - return QLatin1Char('/'); + return u'/'; #endif } |