Skip to content

Commit

Permalink
Remove QFlags(0), QFlags() does the same and is not deprecated
Browse files Browse the repository at this point in the history
Change-Id: I254d37d37f5583e0f7a76fb42b83d234afa29b77
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
  • Loading branch information
albert-astals-cid-kdab committed Nov 29, 2019
1 parent cbb4d50 commit 57f4406
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/platforms/eglfs/api/qeglfscontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/platforms/eglfs/api/qeglfswindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down
1 change: 0 additions & 1 deletion src/plugins/platforms/vnc/qvncclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 57f4406

Please sign in to comment.