Skip to content
Permalink
Browse files
fix build with Qt < 4.8
  • Loading branch information
brushtyler committed Nov 27, 2012
1 parent 28e210b commit d083bd645e4651054bbc1fdfa5ad6e26280327ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgssvgcache.cpp
@@ -230,7 +230,7 @@ QByteArray QgsSvgCache::getImageData( const QString &path ) const
}

// check whether it's a url pointing to a local file
if ( svgUrl.isLocalFile() )
if ( svgUrl.scheme().compare( "file", Qt::CaseInsensitive ) == 0 )
{
svgFile.setFileName( svgUrl.toLocalFile() );
if ( svgFile.exists() )

0 comments on commit d083bd6

Please sign in to comment.