Skip to content

Commit

Permalink
Use QFontInfo so Windows chooses a correct font
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift committed Aug 28, 2016
1 parent f64afff commit ec2d060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PreferencesDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit ec2d060

Please sign in to comment.