diff --git a/src/utils/Configuration.cpp b/src/utils/Configuration.cpp index 47703a8f..adf54a8d 100644 --- a/src/utils/Configuration.cpp +++ b/src/utils/Configuration.cpp @@ -1,6 +1,7 @@ #include "Configuration.h" #include #include +#include Configuration* Configuration::mPtr = nullptr; @@ -180,7 +181,9 @@ void Configuration::loadDarkTheme() const QFont Configuration::getFont() const { - QFont font = s.value("font", QFont("Monospace", 12)).value(); + //QFont font = s.value("font", QFont("Monospace", 12)).value(); + //QFont font = QFont("Monospace", 12); + QFont font = QFontDatabase::systemFont(QFontDatabase::FixedFont); return font; }