Lines 1-14
Link Here
|
1 |
--- Telegram/lib_base/base/platform/linux/base_info_linux.cpp.orig 2020-08-10 11:25:13 UTC |
1 |
--- Telegram/lib_base/base/platform/linux/base_info_linux.cpp.orig 2020-10-20 16:29:09 UTC |
2 |
+++ Telegram/lib_base/base/platform/linux/base_info_linux.cpp |
2 |
+++ Telegram/lib_base/base/platform/linux/base_info_linux.cpp |
3 |
@@ -13,7 +13,6 @@ |
3 |
@@ -11,7 +11,6 @@ |
4 |
#include <QtCore/QVersionNumber> |
4 |
#include <QtCore/QVersionNumber> |
5 |
#include <QtCore/QDate> |
5 |
#include <QtCore/QDate> |
6 |
#include <QtGui/QGuiApplication> |
6 |
#include <QtGui/QGuiApplication> |
7 |
-#include <gnu/libc-version.h> |
7 |
-#include <gnu/libc-version.h> |
8 |
|
8 |
|
9 |
namespace Platform { |
9 |
namespace Platform { |
10 |
namespace { |
10 |
|
11 |
@@ -72,11 +71,9 @@ QString SystemVersionPretty() { |
11 |
@@ -32,11 +31,9 @@ QString SystemVersionPretty() { |
12 |
const auto value = result ? QString::fromLatin1(result) : QString(); |
12 |
const auto value = result ? QString::fromLatin1(result) : QString(); |
13 |
const auto list = value.split(':', QString::SkipEmptyParts); |
13 |
const auto list = value.split(':', QString::SkipEmptyParts); |
14 |
|
14 |
|
Lines 22-28
Link Here
|
22 |
} |
22 |
} |
23 |
|
23 |
|
24 |
QString SystemCountry() { |
24 |
QString SystemCountry() { |
25 |
@@ -94,10 +91,6 @@ QString SystemLanguage() { |
25 |
@@ -54,10 +51,6 @@ QString SystemLanguage() { |
26 |
QDate WhenSystemBecomesOutdated() { |
26 |
QDate WhenSystemBecomesOutdated() { |
27 |
if (IsLinux32Bit()) { |
27 |
if (IsLinux32Bit()) { |
28 |
return QDate(2020, 9, 1); |
28 |
return QDate(2020, 9, 1); |
Lines 33-39
Link Here
|
33 |
} |
33 |
} |
34 |
return QDate(); |
34 |
return QDate(); |
35 |
} |
35 |
} |
36 |
@@ -118,14 +111,6 @@ QString AutoUpdateKey() { |
36 |
@@ -78,14 +71,6 @@ QString AutoUpdateKey() { |
37 |
} else { |
37 |
} else { |
38 |
Unexpected("Platform in AutoUpdateKey."); |
38 |
Unexpected("Platform in AutoUpdateKey."); |
39 |
} |
39 |
} |