remove real temp decimals

This commit is contained in:
souldbminersmwc
2026-04-03 19:29:57 -04:00
parent 5816d49f68
commit fa7313c495
4 changed files with 6 additions and 62 deletions

View File

@@ -411,12 +411,6 @@ public:
});
list->addItem(realTemps);
auto *realTempsDec = new tsl::elm::ToggleListItem("Real Temp Decimals", getCurrentRealTempsDec());
realTempsDec->setStateChangedListener([this, section](bool state) {
ult::setIniFileValue(configIniPath, section, "real_temps_dec", state ? "true" : "false");
});
list->addItem(realTempsDec);
auto* showFullCPU = new tsl::elm::ToggleListItem("Full CPU", getCurrentShowFullCPU());
showFullCPU->setStateChangedListener([this, section](bool state) {
ult::setIniFileValue(configIniPath, section, "show_full_cpu", state ? "true" : "false");
@@ -573,14 +567,6 @@ private:
return value == "TRUE";
}
bool getCurrentRealTempsDec() {
const std::string section = isMiniMode ? "mini" : "micro";
std::string value = ult::parseValueFromIniSection(configIniPath, section, "real_temps_dec");
if (value.empty()) return true;
convertToUpper(value);
return value == "TRUE";
}
bool getCurrentShowFullCPU() {
const std::string section = isMiniMode ? "mini" : "micro";
std::string value = ult::parseValueFromIniSection(configIniPath, section, "show_full_cpu");