From 2acd00fc17eaedbc768720da23b2f1ce13f7e634 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 19 May 2014 22:09:12 +0200 Subject: [PATCH] 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. --- src/frontends/qt4/GuiFontLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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