Remove QFlags(0), QFlags() does the same and is not deprecated

Change-Id: I254d37d37f5583e0f7a76fb42b83d234afa29b77
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
bb10
Albert Astals Cid 2019-11-29 12:27:54 +01:00
parent cbb4d50019
commit 57f4406839
3 changed files with 2 additions and 4 deletions

View File

@ -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)
{
}

View File

@ -66,8 +66,7 @@ QEglFSWindow::QEglFSWindow(QWindow *w)
#endif
m_winId(0),
m_surface(EGL_NO_SURFACE),
m_window(0),
m_flags(0)
m_window(0)
{
}

View File

@ -65,7 +65,6 @@ QVncClient::QVncClient(QTcpSocket *clientSocket, QVncServer *server)
, m_cutTextPending(0)
, m_supportHextile(false)
, m_wantUpdate(false)
, m_keymod(0)
, m_dirtyCursor(false)
, m_updatePending(false)
, m_protocolVersion(V3_3)