Merge pull request #10555 from Syres916/Font_8514oem_exclude
[Preferences] Exclude 8514oem from Monospace fonts
This commit is contained in:
@@ -301,7 +301,9 @@ void DlgSettingsEditor::loadSettings()
|
||||
QStringList fixedFamilyNames;
|
||||
for (const auto &name : familyNames) {
|
||||
if (QFontDatabase().isFixedPitch(name)) {
|
||||
fixedFamilyNames.append(name);
|
||||
if (name.compare(QLatin1String("8514oem"), Qt::CaseInsensitive) != 0) {
|
||||
fixedFamilyNames.append(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
@@ -309,7 +311,9 @@ void DlgSettingsEditor::loadSettings()
|
||||
QStringList fixedFamilyNames;
|
||||
for (const auto &name : familyNames) {
|
||||
if (QFontDatabase::isFixedPitch(name)) {
|
||||
fixedFamilyNames.append(name);
|
||||
if (name.compare(QLatin1String("8514oem"), Qt::CaseInsensitive) != 0) {
|
||||
fixedFamilyNames.append(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user