mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T160, UUID as string utility function
This commit is contained in:
@@ -62,6 +62,11 @@ namespace BlackMisc
|
||||
return QUuid::createUuidV5(ns, baseData);
|
||||
}
|
||||
|
||||
QString CIdentifier::toUuidString() const
|
||||
{
|
||||
return toUuid().toString();
|
||||
}
|
||||
|
||||
QByteArray CIdentifier::getMachineId() const
|
||||
{
|
||||
return QByteArray::fromBase64(m_machineIdBase64.toLocal8Bit());
|
||||
|
||||
Reference in New Issue
Block a user