aboutsummaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r--core/qthelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index fd19e78a3..2e74c5625 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -419,6 +419,8 @@ QString getUserAgent()
// replace all other ':' with ' ' so that this is easy to parse
#ifdef SUBSURFACE_MOBILE
QString userAgent = QString("Subsurface-mobile:%1(%2):").arg(subsurface_mobile_version()).arg(subsurface_canonical_version());
+#elif SUBSURFACE_DOWNLOADER
+ QString userAgent = QString("Subsurface-downloader:%1:").arg(subsurface_canonical_version());
#else
QString userAgent = QString("Subsurface:%1:").arg(subsurface_canonical_version());
#endif