mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-10 08:51:12 +00:00
Disable custom scaling by envvar.
This commit is contained in:
parent
b880d4aa30
commit
85acdbc7ed
@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "platform/platform_specific.h"
|
||||
#include "base/platform/base_platform_info.h"
|
||||
#include "ui/main_queue_processor.h"
|
||||
#include "ui/ui_utility.h"
|
||||
#include "core/crash_reports.h"
|
||||
#include "core/update_checker.h"
|
||||
#include "core/sandbox.h"
|
||||
@ -268,9 +269,12 @@ int Launcher::exec() {
|
||||
return psCleanup();
|
||||
}
|
||||
|
||||
// both are finished in Sandbox::closeApplication
|
||||
Logs::start(this); // must be started before Platform is started
|
||||
Platform::start(); // must be started before Sandbox is created
|
||||
// Must be started before Platform is started.
|
||||
Logs::start(this);
|
||||
|
||||
// Must be started before Sandbox is created.
|
||||
Platform::start();
|
||||
Ui::DisableCustomScaling();
|
||||
|
||||
auto result = executeApplication();
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit e824bb2f6bbfbc061506c07b879005a36a7025c1
|
||||
Subproject commit bc62f87f0ec7a0ef21ad4f676ef65cbb3d3631a4
|
Loading…
Reference in New Issue
Block a user