[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Sun Feb 21 16:05:03 CET 2010
SVN commit 1093837 by jmhoffmann:
Preliminary fix for reload map crash.
M +4 -0 TileLoader.cpp
--- trunk/KDE/kdeedu/marble/src/lib/TileLoader.cpp #1093836:1093837
@@ -87,6 +87,10 @@
{
TileId const id = TileId::fromString( tileId );
TextureTile * const tile = m_waitingForUpdate.value( id, 0 );
+ // preliminary fix for reload map crash
+ // TODO: fix properly
+ if ( !tile )
+ return;
Q_ASSERT( tile );
m_waitingForUpdate.remove( id );
tile->setImage( data );
More information about the Marble-commits
mailing list