Fix app version in sessions
This commit is contained in:
parent
edb1b4e0f6
commit
bebb6f2abf
1 changed files with 3 additions and 3 deletions
|
|
@ -594,13 +594,13 @@ void SessionPrivate::tryToSend() {
|
||||||
? "n/a"
|
? "n/a"
|
||||||
: _instance->systemVersion();
|
: _instance->systemVersion();
|
||||||
#if defined OS_MAC_STORE
|
#if defined OS_MAC_STORE
|
||||||
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
const auto appVersion = QString::fromLatin1(AppKotatoVersionStr)
|
||||||
+ " mac store";
|
+ " mac store";
|
||||||
#elif defined OS_WIN_STORE // OS_MAC_STORE
|
#elif defined OS_WIN_STORE // OS_MAC_STORE
|
||||||
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
const auto appVersion = QString::fromLatin1(AppKotatoVersionStr)
|
||||||
+ " win store";
|
+ " win store";
|
||||||
#else // OS_MAC_STORE || OS_WIN_STORE
|
#else // OS_MAC_STORE || OS_WIN_STORE
|
||||||
const auto appVersion = QString::fromLatin1(AppVersionStr);
|
const auto appVersion = QString::fromLatin1(AppKotatoVersionStr);
|
||||||
#endif // OS_MAC_STORE || OS_WIN_STORE
|
#endif // OS_MAC_STORE || OS_WIN_STORE
|
||||||
const auto proxyType = _options->proxy.type;
|
const auto proxyType = _options->proxy.type;
|
||||||
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue