diff --git a/src/wayland/xdgforeign_v2.cpp b/src/wayland/xdgforeign_v2.cpp index e30ed5ba2b..6af1a9d95e 100644 --- a/src/wayland/xdgforeign_v2.cpp +++ b/src/wayland/xdgforeign_v2.cpp @@ -18,7 +18,7 @@ static const quint32 s_importerVersion = 1; XdgExportedSurface::XdgExportedSurface(SurfaceInterface *surface) : QObject() - , m_handle(QUuid::createUuid().toString()) + , m_handle(QUuid::createUuid().toString(QUuid::WithoutBraces)) , m_surface(surface) { connect(m_surface, &QObject::destroyed, this, &XdgExportedSurface::handleSurfaceDestroyed);