[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Tue Nov 30 22:28:36 CET 2010
SVN commit 1202432 by nienhueser:
Don't stop the progress indicator when the route is retrieved, but only when it is fully displayed. The time between both is often noticable on Maemo.
M +3 -3 RoutingWidget.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingWidget.cpp #1202431:1202432
@@ -426,9 +426,6 @@
if ( state == RoutingManager::Downloading ) {
d->m_progressTimer.start();
- } else {
- d->m_progressTimer.stop();
- d->m_ui.searchButton->setIcon( QIcon() );
}
}
@@ -544,6 +541,9 @@
if ( d->m_ui.routeComboBox->currentIndex() < 0 && d->m_ui.routeComboBox->count() > 0 ) {
d->m_ui.routeComboBox->setCurrentIndex( 0 );
}
+
+ d->m_progressTimer.stop();
+ d->m_ui.searchButton->setIcon( QIcon() );
}
void RoutingWidget::setOpenFileButtonVisible( bool visible )
More information about the Marble-commits
mailing list