retire the mobile version

Both Subsurface and Subsurface-mobile will share the same version number moving
forward.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2024-01-02 19:59:18 -08:00
parent 60f1deb116
commit 11c74f1e2f
9 changed files with 4 additions and 22 deletions

View file

@ -410,7 +410,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(%2):").arg(subsurface_mobile_version()).arg(subsurface_canonical_version());
QString userAgent = QString("Subsurface-mobile:%1:").arg(subsurface_canonical_version());
#elif SUBSURFACE_DOWNLOADER
QString userAgent = QString("Subsurface-downloader:%1:").arg(subsurface_canonical_version());
#else

View file

@ -11,9 +11,3 @@ const char *subsurface_canonical_version(void)
return CANONICAL_VERSION_STRING;
}
#ifdef SUBSURFACE_MOBILE
const char *subsurface_mobile_version(void)
{
return MOBILE_VERSION_STRING;
}
#endif

View file

@ -8,10 +8,6 @@ extern "C" {
const char *subsurface_git_version(void);
const char *subsurface_canonical_version(void);
#ifdef SUBSURFACE_MOBILE
const char *subsurface_mobile_version(void);
#endif
#ifdef __cplusplus
}
#endif