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

Dennis Nienhüser earthwings at gentoo.org
Thu Dec 23 16:38:02 CET 2010


SVN commit 1208870 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.
Backport of commit 1208604.

 M  +1 -0      RoutingModel.cpp  


--- branches/KDE/4.6/kdeedu/marble/src/lib/routing/RoutingModel.cpp #1208869:1208870
@@ -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