Remove references to no longer used font

openmw-35
scrawl 9 years ago
parent 56799c79f4
commit 57a259c526

@ -27,25 +27,6 @@ using namespace Process;
Launcher::MainDialog::MainDialog(QWidget *parent)
: mGameSettings(mCfgMgr), QMainWindow (parent)
{
// Install the stylesheet font
QFile file;
QFontDatabase fontDatabase;
const QStringList fonts = fontDatabase.families();
// Check if the font is installed
if (!fonts.contains("EB Garamond")) {
QString font = QString::fromUtf8(mCfgMgr.getGlobalDataPath().string().c_str()) + QString("resources/mygui/EBGaramond-Regular.ttf");
file.setFileName(font);
if (!file.exists()) {
font = QString::fromUtf8(mCfgMgr.getLocalPath().string().c_str()) + QString("resources/mygui/EBGaramond-Regular.ttf");
}
fontDatabase.addApplicationFont(font);
}
setupUi(this);
mGameInvoker = new ProcessInvoker();

@ -44,7 +44,6 @@
border-radius: 2px;
font-size: 12pt;
font-family: "EB Garamond", "EB Garamond 08";
color: black;
}
@ -95,7 +94,6 @@
<property name="styleSheet">
<string notr="true">#profileLabel {
font-size: 18pt;
font-family: &quot;EB Garamond&quot;, &quot;EB Garamond 08&quot;;
color: black;
}
</string>
@ -133,7 +131,6 @@
stop:1 rgba(0, 0, 0, 100));
font-size: 26pt;
font-family: &quot;EB Garamond&quot;, &quot;EB Garamond 08&quot;;
color: black;
border-right: 1px solid rgba(0, 0, 0, 155);

Loading…
Cancel
Save