1.5.0-rc3 release
This commit is contained in:
parent
4ce39ab7fd
commit
47a5074ed1
1 changed files with 2 additions and 3 deletions
|
@ -59,7 +59,7 @@ void TelemetryClass::init()
|
|||
telemetryStateForced = true;
|
||||
#endif
|
||||
QString telemetryLegacyClientID = settings.value("ClientID", QString()).toString();
|
||||
if (telemetryLegacyClientID.isEmpty())
|
||||
if (telemetryLegacyClientID.isEmpty() || telemetryLegacyClientID == "v2+")
|
||||
{
|
||||
telemetryClientID = QString::fromUtf8(QByteArray::fromBase64(settings.value("Identification", QByteArray()).toByteArray()));
|
||||
}
|
||||
|
@ -84,8 +84,7 @@ void TelemetryClass::init()
|
|||
telemetryClientID = telemetryLegacyClientID;
|
||||
settings.setValue("Identification", telemetryLegacyClientID.toUtf8().toBase64());
|
||||
settings.setValue("IsPorted", true);
|
||||
settings.setValue("ClientID", QString());
|
||||
settings.remove("ClientID");
|
||||
settings.setValue("ClientID", "v2+");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue