mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Fix incorrect error message when .shp.xml metadata file doesn't exist
This commit is contained in:
parent
2fed93cdfd
commit
921e6fa1a1
@ -1524,13 +1524,13 @@ void QgsOgrProvider::loadMetadata()
|
||||
}
|
||||
file.close();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
QgsDebugMsg( QStringLiteral( "Error reading %1 - could not open file for read" ).arg( sidecarPath ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
mLayerMetadata.setType( QStringLiteral( "dataset" ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user