[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/scene

Jens-Michael Hoffmann jensmh at gmx.de
Fri Jul 10 17:49:10 CEST 2009


SVN commit 994465 by jmhoffmann:

Break, if property is found, no need to search further.


 M  +1 -0      GeoSceneGroup.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneGroup.cpp #994464:994465
@@ -118,6 +118,7 @@
     for (; it != end; ++it) {
         if ( (*it)->name() == name )
             property = *it;
+            break;
     }
 
     return property;


More information about the Marble-commits mailing list