Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit a5499e21 authored by Jonathan Marten's avatar Jonathan Marten

Eliminate message "QFileSystemEngine::fillMetaData: Empty filename passed to function"

Seen when scrolling or zooming to a part of the map which has not been
visited before and which is not cached.

Differential Revision:
parent 87ad5638
......@@ -292,7 +292,7 @@ QImage TileLoader::scaledLowerLevelTile( const GeoSceneTextureTileDataset * text
id.x() >> deltaLevel, id.y() >> deltaLevel );
QString const fileName = tileFileName( textureData, replacementTileId );
mDebug() << "TileLoader::scaledLowerLevelTile" << "trying" << fileName;
QImage toScale = QFile::exists(fileName) ? QImage(fileName) : QImage();
QImage toScale = (!fileName.isEmpty() && QFile::exists(fileName)) ? QImage(fileName) : QImage();
if ( level == 0 && toScale.isNull() ) {
mDebug() << "No level zero tile installed in map theme dir. Falling back to a transparent image for now.";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment