[weather] QList -> QVector

parent f3432b54
......@@ -792,7 +792,7 @@ void NOAAIon::forecast_slotJobFinished(KJob *job)
void NOAAIon::readForecast(const QString& source, QXmlStreamReader& xml)
{
QList<WeatherData::Forecast>& forecasts = m_weatherData[source].forecasts;
QVector<WeatherData::Forecast>& forecasts = m_weatherData[source].forecasts;
// Clear the current forecasts
forecasts.clear();
......
......@@ -77,7 +77,7 @@ public:
QString low;
QString high;
};
QList<Forecast> forecasts;
QVector<Forecast> forecasts;
};
class Q_DECL_EXPORT NOAAIon : public IonInterface, public Plasma::DataEngineConsumer
......
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