From f9b394e1efbf64b0127487d1bf5defe47ddec360 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Fri, 24 Jun 2016 00:19:57 -0400 Subject: [PATCH] Herp de Derp James Ready 5.5 This reverts commit 48eeae863e4189fa2ed25d63d092ba16fe1abdfa. --- src/AppConfig.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/AppConfig.cpp b/src/AppConfig.cpp index 67ec812..1fb7d99 100644 --- a/src/AppConfig.cpp +++ b/src/AppConfig.cpp @@ -86,7 +86,6 @@ void DeviceConfig::save(DataNode *node) { *node->newChild("offset") = offset.load(); *node->newChild("sample_rate") = sampleRate.load(); *node->newChild("agc_mode") = agcMode.load()?1:0; - *node->newChild("font_scale") = GLFont::getScale(); if (streamOpts.size()) { DataNode *streamOptsNode = node->newChild("streamOpts"); @@ -142,14 +141,6 @@ void DeviceConfig::load(DataNode *node) { agc_node->element()->get(agcModeValue); setAGCMode(agcModeValue?true:false); } - if (node->hasAnother("font_scale")) { - DataNode *agc_node = node->getNext("font_scale"); - int fontScaleValue = 0; - agc_node->element()->get(fontScaleValue); - if (fontScaleValue > 0 && fontScaleValue < GLFont::GLFONT_SCALE_MAX) { - GLFont::setScale((GLFont::GLFontScale) fontScaleValue); - } - } if (node->hasAnother("sample_rate")) { DataNode *sample_rate_node = node->getNext("sample_rate"); long sampleRateValue = 0;