summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-31 11:20:11 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-31 11:20:11 -0700
commit526ba82b53934e48e7e309b32467f887d579369c (patch)
tree27f9655030f0e07d8cc307fac85ff8fa9cea9617 /qt-ui/subsurfacewebservices.h
parentebdeddb9b93772574460f19bed9fe43d242d8f16 (diff)
downloadsubsurface-526ba82b53934e48e7e309b32467f887d579369c.tar.gz
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>
Diffstat (limited to 'qt-ui/subsurfacewebservices.h')
-rw-r--r--qt-ui/subsurfacewebservices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.h b/qt-ui/subsurfacewebservices.h
index 97f35f235..a9735382c 100644
--- a/qt-ui/subsurfacewebservices.h
+++ b/qt-ui/subsurfacewebservices.h
@@ -43,6 +43,7 @@ protected:
QTimer timeout;
QByteArray downloadedData;
QString defaultApplyText;
+ QString userAgent;
};
class SubsurfaceWebServices : public WebServices {