[Marble-commits] KDE/kdeedu/marble/src/plugins/render/wikipedia
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Jan 26 12:05:35 CET 2010
SVN commit 1080493 by jmhoffmann:
Remove superfluous braces.
M +2 -2 WikipediaModel.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/wikipedia/WikipediaModel.cpp #1080492:1080493
@@ -90,7 +90,7 @@
for( it = list.begin(); it != list.end(); ++it ) {
if( itemExists( (*it)->id() ) ) {
- delete (*it);
+ delete *it;
continue;
}
@@ -99,7 +99,7 @@
(*it)->setTarget( "earth" );
QUrl thumbnailImageUrl = (*it)->thumbnailImageUrl();
if ( m_showThumbnail && !thumbnailImageUrl.isEmpty() ) {
- downloadItemData( thumbnailImageUrl, "thumbnail", (*it) );
+ downloadItemData( thumbnailImageUrl, "thumbnail", *it );
}
else {
addItemToList( *it );
More information about the Marble-commits
mailing list