summaryrefslogtreecommitdiffstats
path: root/subsurface-core/qthelper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-05 12:53:38 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-05 17:00:14 -0800
commitd42b7f55c4e0aea004a2ba7ba135c173f3615290 (patch)
tree0f3522fe6d1ac96df74055619245787a681d3237 /subsurface-core/qthelper.cpp
parent5aa94578f79d4364cd9007fafc7370bfb5a89aff (diff)
downloadsubsurface-d42b7f55c4e0aea004a2ba7ba135c173f3615290.tar.gz
Introduce separate version number for Subsurface-mobile
This is hard coded in version.cmake for now. The intent is to go to 1.0 in the first release version and to increment from there whenever we create an update. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/qthelper.cpp')
-rw-r--r--subsurface-core/qthelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp
index d1c6a8826..72221eacf 100644
--- a/subsurface-core/qthelper.cpp
+++ b/subsurface-core/qthelper.cpp
@@ -460,7 +460,7 @@ QString getUserAgent()
// fill in the system data - use ':' as separator
// replace all other ':' with ' ' so that this is easy to parse
#ifdef SUBSURFACE_MOBILE
- QString userAgent = QString("Subsurface-mobile:%1:").arg(subsurface_canonical_version());
+ QString userAgent = QString("Subsurface-mobile:%1(%2):").arg(subsurface_mobile_version()).arg(subsurface_canonical_version());
#else
QString userAgent = QString("Subsurface:%1:").arg(subsurface_canonical_version());
#endif