Skip to content

Commit

Permalink
fix build with Qt < 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed Nov 27, 2012
1 parent 28e210b commit d083bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgssvgcache.cpp
Expand Up @@ -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() )
Expand Down

0 comments on commit d083bd6

Please sign in to comment.