mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Show correct version in active sessions list
This commit is contained in:
@@ -855,13 +855,13 @@ void ConnectionPrivate::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 = _connectionOptions->proxy.type;
|
const auto proxyType = _connectionOptions->proxy.type;
|
||||||
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
||||||
|
Reference in New Issue
Block a user