diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-07-27 09:10:15 +0300 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-29 10:22:35 +0300 |
commit | 89e2d977323e874b4074aa1b969a4be5141184b8 (patch) | |
tree | 5e5a98d4b2a3a8074bf139cbd6792a4f49034d7d | |
parent | a0669ae5d22aab8b09540e96a70e1ea967b5e01b (diff) |
Port from QStringViewLiteral to u""
Now that all our supported compilers know char16_t, we no longer need
QStringViewLiteral, whose only purpose in life was to turn u"" into
L"" for MSVC < 2015.
Change-Id: I1f5f1cb31c8e8278189f7634850b209b46127ce5
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | src/activeqt/control/qaxserverdll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activeqt/control/qaxserverdll.cpp b/src/activeqt/control/qaxserverdll.cpp index 06be808..c1e6767 100644 --- a/src/activeqt/control/qaxserverdll.cpp +++ b/src/activeqt/control/qaxserverdll.cpp @@ -88,7 +88,7 @@ STDAPI DllUnregisterServer() STDAPI DllInstall(BOOL bInstall, LPCWSTR pszCmdLine) { bool perUser = false; // per-user (un)registration if (pszCmdLine) { - if (QStringView(pszCmdLine).compare(QStringViewLiteral("user"), Qt::CaseInsensitive) == 0) + if (QStringView(pszCmdLine).compare(u"user", Qt::CaseInsensitive) == 0) perUser = true; } |