Commit 3d13aecd authored by Julien Michel's avatar Julien Michel

ENH: Ensure that geom file is not read in EnsureValidImage method

parent f33c4d85
......@@ -172,8 +172,10 @@ VectorImageModel
imageFileReader->SetFileName( QFile::encodeName( filename ).constData() );
QString fname = filename;
imageFileReader->SetFileName( QFile::encodeName( fname.append(QString("?&skipgeom=true"))).constData());
catch( std::exception& exc )
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