Fix for the windows build.

This commit is contained in:
Felix (xq) Queißner 2021-03-07 11:44:14 +01:00
parent 9b522bdd8c
commit 88d5864165
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ DocumentStyle::DefaultFonts::DefaultFonts()
// Initialise default fonts
#ifdef Q_OS_WIN32
// Windows default fonts are ugly, so we use standard ones.
family = "Segoe UI";
fixed = "Consolas";
this->regular = "Segoe UI";
this->fixed = "Consolas";
#else
// *nix
regular = QFontDatabase::systemFont(QFontDatabase::GeneralFont).family();