mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Remove redundant font loader code
Setting the family to "family" is already attempted above. A
different case was adapted to be this duplicate case at d4ff3a29
,
but it should have just been removed.
Spotted by Enrico.
This commit is contained in:
parent
d255339a4c
commit
f8e40f8ab8
@ -203,15 +203,6 @@ QFont symbolFont(QString const & family, bool * ok)
|
||||
return font;
|
||||
}
|
||||
|
||||
LYXERR(Debug::FONT, "Trying " << family << " ... ");
|
||||
font.setFamily(family);
|
||||
|
||||
if (isChosenFont(font, family, QString())) {
|
||||
LYXERR(Debug::FONT, "raw version!");
|
||||
*ok = true;
|
||||
return font;
|
||||
}
|
||||
|
||||
LYXERR(Debug::FONT, " FAILED :-(");
|
||||
*ok = false;
|
||||
return font;
|
||||
|
Loading…
Reference in New Issue
Block a user