[Marble-commits] KDE/kdeedu/marble/src
Jens-Michael Hoffmann
jensmh at gmx.de
Thu May 13 12:01:13 CEST 2010
SVN commit 1126208 by jmhoffmann:
Avoid unnecessary QString variable.
M +1 -3 marble_part.cpp
--- trunk/KDE/kdeedu/marble/src/marble_part.cpp #1126207:1126208
@@ -847,9 +847,7 @@
if ( tileZoomLevel == -1 )
m_tileZoomLevel = NOT_AVAILABLE;
else {
- QString s;
- s.setNum( tileZoomLevel );
- m_tileZoomLevel = s;
+ m_tileZoomLevel.setNum( tileZoomLevel );
}
}
More information about the Marble-commits
mailing list