[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Mon Aug 17 23:03:49 CEST 2009
SVN commit 1012589 by jmhoffmann:
Remove unnecessary braces.
M +3 -3 TileLoader.cpp
--- trunk/KDE/kdeedu/marble/src/lib/TileLoader.cpp #1012588:1012589
@@ -253,7 +253,7 @@
connect( tile, SIGNAL( tileUpdateDone() ),
this, SIGNAL( tileUpdateAvailable() ) );
- tile->loadDataset( texture, tileLevel, tilx, tily, &( d->m_tileCache ) );
+ tile->loadDataset( texture, tileLevel, tilx, tily, &d->m_tileCache );
tile->initJumpTables( false );
// TODO should emit signal rather than directly calling paintTile
@@ -298,7 +298,7 @@
QString tilepath = MarbleDirs::path( TileLoaderHelper::themeStr( texture ) );
// qDebug() << "TileLoader::maxPartialTileLevel tilepath" << tilepath;
- QStringList leveldirs = ( QDir( tilepath ) ).entryList( QDir::AllDirs | QDir::NoSymLinks | QDir::NoDotAndDotDot );
+ QStringList leveldirs = QDir( tilepath ).entryList( QDir::AllDirs | QDir::NoSymLinks | QDir::NoDotAndDotDot );
bool ok = true;
@@ -364,7 +364,7 @@
// emit paintTile( d->m_tilesOnDisplay[id], x, y, level, d->m_theme, true );
GeoSceneTexture * texture = static_cast<GeoSceneTexture *>( d->m_layer->groundDataset() );
- (d->m_tilesOnDisplay[id])->loadDataset( texture, level, x, y, &( d->m_tileCache ) );
+ d->m_tilesOnDisplay[id]->loadDataset( texture, level, x, y, &d->m_tileCache );
m_parent->paintTile( d->m_tilesOnDisplay[id], x, y, level, texture, true );
// (d->m_tilesOnDisplay[id])->reloadTile( x, y, level, d->m_theme );
} else {
More information about the Marble-commits
mailing list