Skip to content

Commit 2fc366c

Browse files
committedJul 23, 2018
Fix north arrow with embedded svgs
1 parent 959dd5b commit 2fc366c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/app/qgsdecorationnortharrow.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ void QgsDecorationNorthArrow::run()
9393

9494
QString QgsDecorationNorthArrow::svgPath()
9595
{
96+
if ( mSvgPath.startsWith( QStringLiteral( "base64:" ), Qt::CaseInsensitive ) )
97+
return mSvgPath;
98+
9699
if ( !mSvgPath.isEmpty() )
97100
{
98101
QString resolvedPath = QgsSymbolLayerUtils::svgSymbolNameToPath( mSvgPath, QgsProject::instance()->pathResolver() );

0 commit comments

Comments
 (0)
Please sign in to comment.