mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
Allow changing the console font family
This commit is contained in:
parent
2e9284951c
commit
24a0635b62
4 changed files with 51 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue