Add console font size setting and a preview\

Also moves the console settings from the minecraft page.
This commit is contained in:
Petr Mrázek
2014-11-11 00:50:17 +01:00
parent 5711b1be95
commit 41bd2a6634
7 changed files with 201 additions and 65 deletions

View File

@ -77,10 +77,6 @@ void MinecraftPage::applySettings()
// Minecraft version updates
s->set("AutoUpdateMinecraftVersions", ui->autoupdateMinecraft->isChecked());
// Console
s->set("ShowConsole", ui->showConsoleCheck->isChecked());
s->set("AutoCloseConsole", ui->autoCloseConsoleCheck->isChecked());
// Window Size
s->set("LaunchMaximized", ui->maximizedCheckBox->isChecked());
s->set("MinecraftWinWidth", ui->windowWidthSpinBox->value());
@ -92,10 +88,6 @@ void MinecraftPage::loadSettings()
auto s = MMC->settings();
// Minecraft version updates
ui->autoupdateMinecraft->setChecked(s->get("AutoUpdateMinecraftVersions").toBool());
// Console
ui->showConsoleCheck->setChecked(s->get("ShowConsole").toBool());
ui->autoCloseConsoleCheck->setChecked(s->get("AutoCloseConsole").toBool());
// Window Size
ui->maximizedCheckBox->setChecked(s->get("LaunchMaximized").toBool());