mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Remove unneeded slash
addPath() always adds a slash at the end, os got a double one before. Qt and the OS are clever enough to understand that, but a single slash looks more nice.
This commit is contained in:
parent
923ab0734d
commit
2acd00fc17
@ -209,7 +209,7 @@ FontLoader::FontLoader()
|
||||
toqstr(addPath(package().system_support().absFileName(), "fonts"));
|
||||
|
||||
for (int i = 0 ; i < num_math_fonts; ++i) {
|
||||
QString const font_file = fonts_dir + '/' + math_fonts[i] + ".ttf";
|
||||
QString const font_file = fonts_dir + math_fonts[i] + ".ttf";
|
||||
int fontID = QFontDatabase::addApplicationFont(font_file);
|
||||
|
||||
LYXERR(Debug::FONT, "Adding font " << font_file
|
||||
|
Loading…
Reference in New Issue
Block a user