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:
parent
88d3195164
commit
db29042588
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user