QQnxWindow: replace QUuid::toString().toLatin1() with QUuid::toByteArray()

UUIDs are always US-ASCII.

Change-Id: I335882a2df179204d8eca1cf9f02bc6473bac700
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Marc Mutz 2017-04-09 15:57:45 +02:00
parent 88d3195164
commit db29042588

View File

@ -694,7 +694,7 @@ void QQnxWindow::initWindow()
void QQnxWindow::createWindowGroup()
{
// Generate a random window group name
m_windowGroupName = QUuid::createUuid().toString().toLatin1();
m_windowGroupName = QUuid::createUuid().toByteArray();
// Create window group so child windows can be parented by container window
Q_SCREEN_CHECKERROR(screen_create_window_group(m_window, m_windowGroupName.constData()),