diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-11-29 12:27:54 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-11-29 13:10:44 +0100 |
commit | 57f44068394d015b8f6d6428c91385b2a4f81897 (patch) | |
tree | 3bfca9e1ec2ee589b499d444fc7af9ec9e99cde1 /src/plugins/platforms/eglfs/api/qeglfscontext.cpp | |
parent | cbb4d500199253f1187ee437a3991b5434c3a0bb (diff) |
Remove QFlags(0), QFlags() does the same and is not deprecated
Change-Id: I254d37d37f5583e0f7a76fb42b83d234afa29b77
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs/api/qeglfscontext.cpp')
-rw-r--r-- | src/plugins/platforms/eglfs/api/qeglfscontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/api/qeglfscontext.cpp b/src/plugins/platforms/eglfs/api/qeglfscontext.cpp index c5cef34d8e..c10b6facbb 100644 --- a/src/plugins/platforms/eglfs/api/qeglfscontext.cpp +++ b/src/plugins/platforms/eglfs/api/qeglfscontext.cpp @@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE QEglFSContext::QEglFSContext(const QSurfaceFormat &format, QPlatformOpenGLContext *share, EGLDisplay display, EGLConfig *config, const QVariant &nativeHandle) : QEGLPlatformContext(format, share, display, config, nativeHandle, - qt_egl_device_integration()->supportsSurfacelessContexts() ? Flags(0) : QEGLPlatformContext::NoSurfaceless), + qt_egl_device_integration()->supportsSurfacelessContexts() ? Flags() : QEGLPlatformContext::NoSurfaceless), m_tempWindow(0) { } |