[weather] NOAA: remove unused m_dateFormat member

parent 79282fc5
......@@ -415,8 +415,6 @@ void NOAAIon::parseWeatherSite(WeatherData& data, QXmlStreamReader& xml)
data.observationTime = xml.readElementText();
QStringList tmpDateStr = data.observationTime.split(QLatin1Char(' '));
data.observationTime = QStringLiteral("%1 %2").arg(tmpDateStr[6], tmpDateStr[7]);
m_dateFormat = QDateTime::fromString(data.observationTime, QStringLiteral("h:mm ap"));
} else if (elementName == QLatin1String("weather")) {
const QString weather = xml.readElementText();
data.weather = (weather.isEmpty() || weather == QLatin1String("NA")) ? QStringLiteral("N/A") : weather;
......
......@@ -164,7 +164,6 @@ private:
QXmlStreamReader m_xmlSetup;
Plasma::DataEngine *m_timeEngine;
QDateTime m_dateFormat;
// bool emitWhenSetup;
QStringList m_sourcesToReset;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment