mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
ebdeddb9b9
commit
526ba82b53
5 changed files with 34 additions and 14 deletions
|
@ -43,6 +43,7 @@ protected:
|
|||
QTimer timeout;
|
||||
QByteArray downloadedData;
|
||||
QString defaultApplyText;
|
||||
QString userAgent;
|
||||
};
|
||||
|
||||
class SubsurfaceWebServices : public WebServices {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue