mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-31 00:09:58 -06:00
Use QFontInfo so Windows chooses a correct font
This commit is contained in:
@@ -360,7 +360,7 @@ QVariant PreferencesDialog::getSettingsDefaultValue(const QString& group, const
|
||||
{
|
||||
QFont font("Monospace");
|
||||
font.setStyleHint(QFont::TypeWriter);
|
||||
return font.family();
|
||||
return QFontInfo(font).family();
|
||||
}
|
||||
|
||||
// editor/fontsize or log/fontsize?
|
||||
|
||||
Reference in New Issue
Block a user