diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-25 11:27:42 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-25 12:02:13 -0800 |
commit | 0f967063c0d4487ad71081564bfef139426c50b1 (patch) | |
tree | 2c37ff07b92c8c4800cd6fcb527cd0445200c1b8 /qt-ui/usersurvey.cpp | |
parent | ed9a060d76db4b56f89b2f0d3f7fd87c9d98f239 (diff) | |
download | subsurface-0f967063c0d4487ad71081564bfef139426c50b1.tar.gz |
Add unique but random UUID to server queries
With this we can easily eliminate duplicates from our user statistics. The
UUID is completely random and there is no way to link it back to a
specific user. By deleting the settings a user can force a new UUID.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usersurvey.cpp')
-rw-r--r-- | qt-ui/usersurvey.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/usersurvey.cpp b/qt-ui/usersurvey.cpp index ed5d121e2..4061d46df 100644 --- a/qt-ui/usersurvey.cpp +++ b/qt-ui/usersurvey.cpp @@ -6,6 +6,7 @@ #include "ui_usersurvey.h" #include "ssrf-version.h" #include "subsurfacewebservices.h" +#include "updatemanager.h" #include "helpers.h" #include "subsurfacesysinfo.h" @@ -30,6 +31,7 @@ UserSurvey::UserSurvey(QWidget *parent) : QDialog(parent), os.append(QString("&osCpuArch=%1").arg(osArch)); } os.append(QString("&uiLang=%1").arg(uiLanguage(NULL))); + os.append(QString("&uuid=%1").arg(UpdateManager::getUUID())); ui->system->setPlainText(getVersion()); } |