Give Subsurface a distinct User Agent string

When accessing websites (divelogs.de, subsurface website) we shouldn't
pretend to be Mozilla 5.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-31 11:20:11 -07:00
parent ebdeddb9b9
commit 526ba82b53
5 changed files with 34 additions and 14 deletions

View file

@ -43,6 +43,7 @@ protected:
QTimer timeout;
QByteArray downloadedData;
QString defaultApplyText;
QString userAgent;
};
class SubsurfaceWebServices : public WebServices {