wayland/xdgforeign_v2: Create UUID without braces

They can be annoyin to type on the terminal, requiring escaping and what not.
The protocol doesn't specify the format, so we can just drop them.
This commit is contained in:
Kai Uwe Broulik 2023-11-30 14:16:11 +01:00
parent 8dc297db71
commit cecd630b2e

View file

@ -18,7 +18,7 @@ static const quint32 s_importerVersion = 1;
XdgExportedSurface::XdgExportedSurface(SurfaceInterface *surface) XdgExportedSurface::XdgExportedSurface(SurfaceInterface *surface)
: QObject() : QObject()
, m_handle(QUuid::createUuid().toString()) , m_handle(QUuid::createUuid().toString(QUuid::WithoutBraces))
, m_surface(surface) , m_surface(surface)
{ {
connect(m_surface, &QObject::destroyed, this, &XdgExportedSurface::handleSurfaceDestroyed); connect(m_surface, &QObject::destroyed, this, &XdgExportedSurface::handleSurfaceDestroyed);