mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix #6777
This commit is contained in:
parent
84c709f1a6
commit
6f1b27ea31
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user