mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 04:22:39 +00:00
NOISSUE Some happy little refactors
This commit is contained in:
@@ -129,9 +129,9 @@ void OtherLogsPage::on_btnReload_clicked()
|
||||
{
|
||||
auto setPlainText = [&](const QString & text)
|
||||
{
|
||||
QString fontFamily = LAUNCHER->settings()->get("ConsoleFont").toString();
|
||||
QString fontFamily = APPLICATION->settings()->get("ConsoleFont").toString();
|
||||
bool conversionOk = false;
|
||||
int fontSize = LAUNCHER->settings()->get("ConsoleFontSize").toInt(&conversionOk);
|
||||
int fontSize = APPLICATION->settings()->get("ConsoleFontSize").toInt(&conversionOk);
|
||||
if(!conversionOk)
|
||||
{
|
||||
fontSize = 11;
|
||||
|
||||
Reference in New Issue
Block a user