Skip to content

Commit

Permalink
fix #6777
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed Nov 28, 2012
1 parent 84c709f commit 6f1b27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ QString QgsSvgMarkerSymbolLayerV2::symbolNameToPath( QString name )

// or it might be an url...
QUrl url( name );
if ( url.isValid() )
if ( url.isValid() && !url.scheme().isEmpty() )
{
if ( url.scheme().compare( "file", Qt::CaseInsensitive ) == 0 )
{
Expand Down

0 comments on commit 6f1b27e

Please sign in to comment.