From: Georg Baum Date: Mon, 19 May 2014 20:09:12 +0000 (+0200) Subject: Remove unneeded slash X-Git-Tag: 2.2.0alpha1~1926 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2acd00fc17eaedbc768720da23b2f1ce13f7e634;p=features.git 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. --- diff --git a/src/frontends/qt4/GuiFontLoader.cpp b/src/frontends/qt4/GuiFontLoader.cpp index 3d0f2b0cf3..39a4b17a3c 100644 --- a/src/frontends/qt4/GuiFontLoader.cpp +++ b/src/frontends/qt4/GuiFontLoader.cpp @@ -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