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

List:       kde-commits
Subject:    branches/marble/marble-1.1/src/plugins/render/routing
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2011-01-06 15:30:14
Message-ID: 20110106153014.25385AC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212341 by nienhueser:

Updates to widget elements must trigger cache invalidation now.
Backport of commit 1212331.

 M  +3 -0      RoutingPlugin.cpp  


--- branches/marble/marble-1.1/src/plugins/render/routing/RoutingPlugin.cpp #1212340:1212341
@@ -152,6 +152,7 @@
 {
     bool const hasRoute = m_routingModel->rowCount() > 0;
     m_widget.routingButton->setEnabled( hasRoute );
+    m_widgetItem->update();
 }
 
 void RoutingPluginPrivate::forceRepaint()
@@ -303,6 +304,8 @@
             m_widget.instructionLabel->setText( richText( "%1", fontSize ).arg( content ) );
         }
     }
+
+    m_widgetItem->update();
 }
 
 void RoutingPluginPrivate::updateGpsButton( PositionProviderPlugin *activePlugin )
[prev in list] [next in list] [prev in thread] [next in thread] 

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