summaryrefslogtreecommitdiffstats
path: root/src/core/ozone
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2019-06-25 10:02:37 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2019-06-25 11:17:57 +0200
commit34a55705d23a44404495277a5608105f4a2d4fac (patch)
tree62ea2bb62b37c78962597c3b61e2cdabaf866a6a /src/core/ozone
parent4c6a199faaa23b14a975e10d1aae31dbe30883cd (diff)
Remove usages of deprecated QLatin1Literal
Task-number: QTBUG-76491 Change-Id: I19762b1d04fd7225963ac4e0e90cac6ca01256f7 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/ozone')
-rw-r--r--src/core/ozone/gl_context_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ozone/gl_context_qt.cpp b/src/core/ozone/gl_context_qt.cpp
index 647498faf..9813a3256 100644
--- a/src/core/ozone/gl_context_qt.cpp
+++ b/src/core/ozone/gl_context_qt.cpp
@@ -166,7 +166,7 @@ QFunctionPointer GLContextHelper::getEglGetProcAddress()
bool GLContextHelper::isCreateContextRobustnessSupported()
{
#if QT_CONFIG(opengl)
- if (QGuiApplication::platformName() == QLatin1Literal("offscreen"))
+ if (QGuiApplication::platformName() == QLatin1String("offscreen"))
return false;
if (QOpenGLContext *context = qt_gl_global_share_context())