mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +00:00
Fixed font changing
This commit is contained in:
@@ -161,6 +161,18 @@ Application::~Application() {
|
||||
}
|
||||
|
||||
void Application::run() {
|
||||
if (!cMainFont().isEmpty()) {
|
||||
style::internal::SetMainFont(cMainFont());
|
||||
}
|
||||
if (!cSemiboldFont().isEmpty()) {
|
||||
style::internal::SetSemiboldFont(cSemiboldFont());
|
||||
}
|
||||
if (cSemiboldFontIsBold()) {
|
||||
style::internal::SetSemiboldIsBold(cSemiboldFontIsBold());
|
||||
}
|
||||
if (!cMonospaceFont().isEmpty()) {
|
||||
style::internal::SetMonospaceFont(cMonospaceFont());
|
||||
}
|
||||
style::internal::StartFonts();
|
||||
|
||||
ThirdParty::start();
|
||||
|
||||
Reference in New Issue
Block a user