2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Auto update and codes ("loadlang" etc) supported in the new Settings.

This commit is contained in:
John Preston
2016-08-27 11:52:05 -06:00
parent fdab386178
commit afab21372b
12 changed files with 318 additions and 17 deletions

View File

@@ -316,6 +316,8 @@ DeclareVar(bool, TryIPv6);
DeclareVar(ProxyData, ConnectionProxy);
DeclareRefVar(base::Observable<void>, ConnectionTypeChanged);
DeclareRefVar(base::Observable<void>, ChooseCustomLang);
} // namespace Global
namespace Adaptive {
@@ -339,7 +341,7 @@ inline bool Wide() {
namespace DebugLogging {
inline bool FileLoader() {
return (Global::DebugLoggingFlags() | FileLoaderFlag) != 0;
return (Global::DebugLoggingFlags() & FileLoaderFlag) != 0;
}
} // namespace DebugLogging