mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
60f1deb116
commit
11c74f1e2f
9 changed files with 4 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue