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:
Georg Baum 2014-05-19 22:09:12 +02:00
parent 923ab0734d
commit 2acd00fc17

View File

@ -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