|
@@ -11347,11 +11347,7 @@ else if(xmlin.name() == "temperature")
|
11347
|
11347
|
column = xmlin.attributes().value("series").toString().isEmpty() ?
|
11348
|
11348
|
firstc : temperatureColumns.value(xmlin.attributes().
|
11349
|
11349
|
value("series").toString());
|
11350
|
|
- bool relative = false;
|
11351
|
|
- if(xmlin.attributes().value("relative") == "true")
|
11352
|
|
- {
|
11353
|
|
- relative = true;
|
11354
|
|
- }
|
|
11350
|
+ bool relative = (xmlin.attributes().value("relative") == "true");
|
11355
|
11351
|
tempval = xmlin.readElementText().toDouble();
|
11356
|
11352
|
Measurement measurement(tempval, timeval);
|
11357
|
11353
|
if(relative)
|