|
@@ -12148,9 +12148,8 @@ if(xmlin.name() == "time")
|
12148
|
12148
|
}
|
12149
|
12149
|
else if(xmlin.name() == "temperature")
|
12150
|
12150
|
{
|
12151
|
|
- column = xmlin.attributes().value("series").toString().isEmpty() ?
|
12152
|
|
- firstc : temperatureColumns.value(xmlin.attributes().
|
12153
|
|
- value("series").toString());
|
|
12151
|
+ column = xmlin.attributes().hasAttribute("series") ?
|
|
12152
|
+ temperatureColumns.value(xmlin.attributes().value("series").toString()) : firstc;
|
12154
|
12153
|
bool relative = (xmlin.attributes().value("relative") == "true");
|
12155
|
12154
|
tempval = xmlin.readElementText().toDouble();
|
12156
|
12155
|
Measurement measurement(tempval, timeval);
|