mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +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;
|
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 :-(");
|
LYXERR(Debug::FONT, " FAILED :-(");
|
||||||
*ok = false;
|
*ok = false;
|
||||||
return font;
|
return font;
|
||||||
|
Loading…
Reference in New Issue
Block a user