[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/scene
Jens-Michael Hoffmann
jensmh at gmx.de
Mon Jul 13 16:01:21 CEST 2009
SVN commit 995910 by jmhoffmann:
Fix bug introduced by commit 994465, add missing braces.
M +2 -1 GeoSceneGroup.cpp
--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneGroup.cpp #995909:995910
@@ -116,9 +116,10 @@
QVector<GeoSceneProperty*>::const_iterator it = m_properties.constBegin();
QVector<GeoSceneProperty*>::const_iterator end = m_properties.constEnd();
for (; it != end; ++it) {
- if ( (*it)->name() == name )
+ if ( (*it)->name() == name ) {
property = *it;
break;
+ }
}
return property;
More information about the Marble-commits
mailing list