diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-11-09 19:48:35 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-11-09 19:48:35 +0100 |
commit | 24a0635b62071aee56c090283b8c8527174be039 (patch) | |
tree | c6db5f75c70fd5d907fbe210d8d2b74a3c329666 /MultiMC.cpp | |
parent | 2e9284951c7364dc766a406099ce3a779773abb1 (diff) | |
download | MultiMC-24a0635b62071aee56c090283b8c8527174be039.tar MultiMC-24a0635b62071aee56c090283b8c8527174be039.tar.gz MultiMC-24a0635b62071aee56c090283b8c8527174be039.tar.lz MultiMC-24a0635b62071aee56c090283b8c8527174be039.tar.xz MultiMC-24a0635b62071aee56c090283b8c8527174be039.zip |
Allow changing the console font family
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r-- | MultiMC.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp index a75ccb13..149bb939 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -379,6 +379,15 @@ void MultiMC::initGlobalSettings() // Remembered state m_settings->registerSetting("LastUsedGroupForNewInstance", QString()); + // Console settings + QFont consoleFont; + consoleFont.setFamily(""); + consoleFont.setStyleHint(QFont::Monospace); + consoleFont.setFixedPitch(true); + QFontInfo consoleFontInfo(consoleFont); + QString consoleFontFamily = consoleFontInfo.family(); + m_settings->registerSetting("ConsoleFont", consoleFontFamily); + // FTB m_settings->registerSetting("TrackFTBInstances", false); QString ftbDataDefault; |