Skip to content
Permalink
Browse files
fix build with Qt < 4.8
  • Loading branch information
brushtyler committed Nov 27, 2012
1 parent 28e210b commit d083bd6
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.