Commit 9d408649 authored by Julien Brianceau's avatar Julien Brianceau
Browse files

Remove scoped enums to fix builds without C++11 support.



Change-Id: I4f83fdb59a60bb1f1720047f0b442d70192be5da
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@theqtcompany.com>
parent 5dd83e3e
......@@ -71,7 +71,7 @@ QWaylandSurfacePrivate::QWaylandSurfacePrivate(wl_client *wlClient, quint32 id,
, closing(false)
, refCount(1)
, client(QWaylandClient::fromWlClient(wlClient))
, windowType(QWaylandSurface::WindowType::None)
, windowType(QWaylandSurface::None)
{}
......
......@@ -110,7 +110,7 @@ int QWaylandSurfaceOp::type() const
QWaylandSurfaceSetVisibilityOp::QWaylandSurfaceSetVisibilityOp(QWindow::Visibility visibility)
: QWaylandSurfaceOp(Type::SetVisibility)
: QWaylandSurfaceOp(QWaylandSurfaceOp::SetVisibility)
, m_visibility(visibility)
{
}
......@@ -121,7 +121,7 @@ QWindow::Visibility QWaylandSurfaceSetVisibilityOp::visibility() const
}
QWaylandSurfaceResizeOp::QWaylandSurfaceResizeOp(const QSize &size)
: QWaylandSurfaceOp(Type::Resize)
: QWaylandSurfaceOp(QWaylandSurfaceOp::Resize)
, m_size(size)
{
}
......@@ -132,7 +132,7 @@ QSize QWaylandSurfaceResizeOp::size() const
}
QWaylandSurfacePingOp::QWaylandSurfacePingOp(uint32_t serial)
: QWaylandSurfaceOp(Type::Ping)
: QWaylandSurfaceOp(QWaylandSurfaceOp::Ping)
, m_serial(serial)
{
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment