| @@ -130,7 +130,7 @@ json_t* toJson() { | |||||
| json_object_set_new(rootJ, "tooltips", json_boolean(tooltips)); | json_object_set_new(rootJ, "tooltips", json_boolean(tooltips)); | ||||
| json_object_set_new(rootJ, "cpuMeter", json_boolean(cpuMeter)); | |||||
| // json_object_set_new(rootJ, "cpuMeter", json_boolean(cpuMeter)); | |||||
| json_object_set_new(rootJ, "lockModules", json_boolean(lockModules)); | json_object_set_new(rootJ, "lockModules", json_boolean(lockModules)); | ||||
| @@ -282,9 +282,9 @@ void fromJson(json_t* rootJ) { | |||||
| if (tooltipsJ) | if (tooltipsJ) | ||||
| tooltips = json_boolean_value(tooltipsJ); | tooltips = json_boolean_value(tooltipsJ); | ||||
| json_t* cpuMeterJ = json_object_get(rootJ, "cpuMeter"); | |||||
| if (cpuMeterJ) | |||||
| cpuMeter = json_boolean_value(cpuMeterJ); | |||||
| // json_t* cpuMeterJ = json_object_get(rootJ, "cpuMeter"); | |||||
| // if (cpuMeterJ) | |||||
| // cpuMeter = json_boolean_value(cpuMeterJ); | |||||
| json_t* lockModulesJ = json_object_get(rootJ, "lockModules"); | json_t* lockModulesJ = json_object_get(rootJ, "lockModules"); | ||||
| if (lockModulesJ) | if (lockModulesJ) | ||||