fix: font not correctly set in the cpuinfo window
This commit is contained in:
parent
f5db3144f5
commit
e2d5a18c3f
|
@ -148,7 +148,7 @@ void CPUDialog::resetEditorFont(float dpi)
|
|||
f.setFamily(pSettings->editor().fontName());
|
||||
f.setFamilies(pSettings->editor().fontFamilies());
|
||||
f.setPixelSize(pointToPixel(pSettings->editor().fontSize(),dpi));
|
||||
f.setStyleStrategy(QFont::NoFontMerging);
|
||||
f.setStyleStrategy(QFont::PreferAntialias);
|
||||
ui->txtCode->setFont(f);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue