2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Show better information in sessions list.

This commit is contained in:
John Preston
2018-06-03 22:52:23 +03:00
parent b4a2e84aa3
commit e122353bfb
12 changed files with 155 additions and 34 deletions

View File

@@ -222,25 +222,6 @@ static const char *ApiHash = "344583e45741c457fe1862106095a5eb";
static const char *BetaPrivateKey = "";
#endif
inline const char *cApiDeviceModel() {
#ifdef Q_OS_WIN
return "PC";
#elif defined Q_OS_MAC
return "Mac";
#elif defined Q_OS_LINUX
return "PC";
#endif
}
inline const char *cApiSystemVersion() {
#ifdef Q_OS_WIN
return "Windows";
#elif defined Q_OS_MAC
return "OS X";
#elif defined Q_OS_LINUX
return "Linux";
#endif
}
extern QString gKeyFile;
inline const QString &cDataFile() {
if (!gKeyFile.isEmpty()) return gKeyFile;