diff --git a/src/blackcore/data/globalsetup.cpp b/src/blackcore/data/globalsetup.cpp index 70a15225e..6580d6c5b 100644 --- a/src/blackcore/data/globalsetup.cpp +++ b/src/blackcore/data/globalsetup.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include @@ -168,11 +169,7 @@ namespace BlackCore CUrl pingUrl = this->getDbClientPingServiceUrl(); if (pingUrl.isEmpty()) { CUrl(); } - QString uuid = this->identifier().toUuidString(); - uuid.remove('{'); - uuid.remove('}'); - - pingUrl.appendQuery("uuid", uuid); + pingUrl.appendQuery("uuid", QSysInfo::machineUniqueId()); if (type.testFlag(PingLogoff)) { pingUrl.appendQuery("logoff", "true"); } if (type.testFlag(PingShutdown)) { pingUrl.appendQuery("shutdown", "true"); } if (type.testFlag(PingStarted)) { pingUrl.appendQuery("started", "true"); }