SVN commit 784518 by wildfox: Use qDeleteAll for speed. M +1 -5 GeoDataContainer.cpp --- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataContainer.cpp #784517:784518 @@ -20,11 +20,7 @@ GeoDataContainer::~GeoDataContainer() { - qDebug("GeoDataContainer::~GeoDataContainer(). Object count: %d", m_features.count()); - - foreach ( GeoDataFeature* feature, m_features ) { - delete feature; - } + qDeleteAll(m_features); } QVector GeoDataContainer::folders() const