[Marble-commits] KDE/kdeedu/marble/src/lib/routing

Dennis Nienhüser earthwings at gentoo.org
Wed Dec 22 14:50:04 CET 2010


SVN commit 1208604 by nienhueser:

Fix a crash introduced in commit 1207580. The crash occurs when starting Marble and both a route is loaded from the previous session and GPS is enabled automatically.

 M  +1 -0      RoutingModel.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingModel.cpp #1208603:1208604
@@ -469,6 +469,7 @@
         }
 
         d->m_instructionSize = instructions.size();
+        d->m_nextInstructionIndex = 1;
 
         qint32 totalTimeRemaining = 0;
         qreal totalDistanceRemaining = 0.0;


More information about the Marble-commits mailing list