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/updatemanager.h | |
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/updatemanager.h')
-rw-r--r-- | qt-ui/updatemanager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/updatemanager.h b/qt-ui/updatemanager.h index 4e95d740f..f91c82dc8 100644 --- a/qt-ui/updatemanager.h +++ b/qt-ui/updatemanager.h @@ -11,6 +11,7 @@ class UpdateManager : public QObject { public: explicit UpdateManager(QObject *parent = 0); void checkForUpdates(bool automatic = false); + static QString getUUID(); public slots: |