Qt: Fix crash on language change with system active

This commit is contained in:
Stenzek
2023-11-29 19:48:39 +10:00
parent 8ce2be57c5
commit e806d939ae
4 changed files with 63 additions and 34 deletions

View File

@ -13,10 +13,7 @@ enum class GenericInputBinding : u8;
namespace ImGuiManager {
/// Sets the path to the font to use. Empty string means to use the default.
void SetFontPath(std::string path);
/// Sets the glyph range to use when loading fonts.
void SetFontRange(const u16* range);
void SetFontPathAndRange(std::string path, std::vector<u16> range);
/// Changes the global scale.
void SetGlobalScale(float global_scale);