[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Wed Aug 25 12:24:32 CEST 2010
SVN commit 1167790 by nienhueser:
Treat empty placemarks as invalid reverse geocoding results.
M +1 -1 MarbleRunnerManager.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleRunnerManager.cpp #1167789:1167790
@@ -184,7 +184,7 @@
void MarbleRunnerManager::addReverseGeocodingResult( const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark )
{
- if ( !d->m_reverseGeocodingResults.contains( coordinates ) ) {
+ if ( !d->m_reverseGeocodingResults.contains( coordinates ) && !placemark.address().isEmpty() ) {
d->m_reverseGeocodingResults.push_back( coordinates );
emit reverseGeocodingFinished( coordinates, placemark );
}
More information about the Marble-commits
mailing list