[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/lib/routing
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2010-11-30 21:28:36
Message-ID: 20101130212836.F374DAC8A3 () svn ! kde ! org
[Download RAW message or body]

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 )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic