Skip to content
Permalink
Browse files

Fix north arrow with embedded svgs

  • Loading branch information
nyalldawson committed Jul 20, 2018
1 parent 959dd5b commit 2fc366cbd848c77cc42f68c01d59878de67a3530
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsdecorationnortharrow.cpp
@@ -93,6 +93,9 @@ void QgsDecorationNorthArrow::run()

QString QgsDecorationNorthArrow::svgPath()
{
if ( mSvgPath.startsWith( QStringLiteral( "base64:" ), Qt::CaseInsensitive ) )
return mSvgPath;

if ( !mSvgPath.isEmpty() )
{
QString resolvedPath = QgsSymbolLayerUtils::svgSymbolNameToPath( mSvgPath, QgsProject::instance()->pathResolver() );

0 comments on commit 2fc366c

Please sign in to comment.
You can’t perform that action at this time.