commit
ed73a7fb9e
|
@ -4251,6 +4251,11 @@ void CSandMan::SetUITheme()
|
|||
|
||||
|
||||
QFont font = QApplication::font();
|
||||
QString customFontStr = theConf->GetString("UIConfig/UIFont", "");
|
||||
if (customFontStr != "") {
|
||||
font.setFamily(customFontStr);
|
||||
QApplication::setFont(font);
|
||||
}
|
||||
double newFontSize = m_DefaultFontSize * theConf->GetInt("Options/FontScaling", 100) / 100.0;
|
||||
if (newFontSize != font.pointSizeF()) {
|
||||
font.setPointSizeF(newFontSize);
|
||||
|
|
Loading…
Reference in New Issue