mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Fix fonts applying after crash window
This commit is contained in:
parent
f18c0d97f9
commit
4301ffbe1d
@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "core/launcher.h"
|
#include "core/launcher.h"
|
||||||
#include "core/sandbox.h"
|
#include "core/sandbox.h"
|
||||||
#include "core/update_checker.h"
|
#include "core/update_checker.h"
|
||||||
|
#include "core/ui_integration.h"
|
||||||
#include "window/main_window.h"
|
#include "window/main_window.h"
|
||||||
#include "platform/platform_specific.h"
|
#include "platform/platform_specific.h"
|
||||||
#include "base/zlib_help.h"
|
#include "base/zlib_help.h"
|
||||||
@ -25,12 +26,14 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
constexpr auto kDefaultProxyPort = 80;
|
constexpr auto kDefaultProxyPort = 80;
|
||||||
|
Core::UiIntegration UiIntegrationInstance;
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
PreLaunchWindow *PreLaunchWindowInstance = nullptr;
|
PreLaunchWindow *PreLaunchWindowInstance = nullptr;
|
||||||
|
|
||||||
PreLaunchWindow::PreLaunchWindow(QString title) {
|
PreLaunchWindow::PreLaunchWindow(QString title) {
|
||||||
|
Ui::Integration::Set(&UiIntegrationInstance);
|
||||||
style::internal::StartFonts();
|
style::internal::StartFonts();
|
||||||
|
|
||||||
setWindowIcon(Window::CreateIcon());
|
setWindowIcon(Window::CreateIcon());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user