[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Sun Mar 21 21:44:08 CET 2010
SVN commit 1106092 by nienhueser:
Trigger reverse geocoding at creation time, if needed.
M +3 -5 RoutingInputWidget.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingInputWidget.cpp #1106091:1106092
@@ -143,6 +143,8 @@
this, SLOT(updatePosition(int, GeoDataCoordinates)));
connect(&d->m_nominatimTimer, SIGNAL(timeout()),
this, SLOT(startHttpRequest()));
+
+ d->adjustText();
}
RoutingInputWidget::~RoutingInputWidget()
@@ -188,11 +190,7 @@
d->m_route->setPosition(d->m_index, position);
d->m_progressTimer.stop();
d->m_stateButton->setEnabled(true);
- if (!hasTargetPosition()) {
- d->m_route->setPosition(d->m_index, position);
- emit targetValidityChanged(true);
- d->adjustText();
- }
+ emit targetValidityChanged(true);
}
bool RoutingInputWidget::hasTargetPosition() const
More information about the Marble-commits
mailing list