[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Wed Jan 27 20:20:09 CET 2010
SVN commit 1081115 by jmhoffmann:
TextureTile::initJumpTables: Remove parameter requestTileUpdate.
As initJumpTables is only called with requestTileUpdate=false, this
parameter can be removed including the code conditionally emitting
tileUpdateDone inside initJumpTables.
M +2 -7 TextureTile.cpp
M +1 -1 TextureTile.h
--- trunk/KDE/kdeedu/marble/src/lib/TextureTile.cpp #1081114:1081115
@@ -384,7 +384,7 @@
d->m_depth = d->m_rawtile.depth();
d->m_created = lastModified;
tileFound = true;
- initJumpTables( false );
+ initJumpTables();
}
}
@@ -403,7 +403,7 @@
// mDebug() << "TextureTile::loadDataset end";
}
-void TextureTile::initJumpTables( bool requestTileUpdate )
+void TextureTile::initJumpTables()
{
// mDebug() << "Entered initJumpTables( bool ) of Tile" << d->m_id;
@@ -430,11 +430,6 @@
}
d->m_isGrayscale = d->m_rawtile.isGrayscale();
-
- if ( requestTileUpdate ) {
- // mDebug() << "TileUpdate available";
- emit tileUpdateDone();
- }
}
uint TextureTile::pixel( int x, int y ) const
--- trunk/KDE/kdeedu/marble/src/lib/TextureTile.h #1081114:1081115
@@ -82,7 +82,7 @@
private:
Q_DECLARE_PRIVATE( TextureTile )
Q_DISABLE_COPY( TextureTile )
- void initJumpTables( bool requestTileUpdate = true );
+ void initJumpTables();
TextureTilePrivate *d;
};
More information about the Marble-commits
mailing list