diff --git a/images/images.qrc b/images/images.qrc index 63bc9749bb78..779310be91f0 100644 --- a/images/images.qrc +++ b/images/images.qrc @@ -647,6 +647,7 @@ themes/default/labelingSingle.svg themes/default/labelingRuleBased.svg themes/default/labelingObstacle.svg + themes/default/labelingCalloutCurved.svg themes/default/labelingCalloutSimple.svg themes/default/labelingCalloutManhattan.svg themes/default/repositoryConnected.svg diff --git a/images/themes/default/labelingCalloutCurved.svg b/images/themes/default/labelingCalloutCurved.svg new file mode 100644 index 000000000000..3b2ec1441cbe --- /dev/null +++ b/images/themes/default/labelingCalloutCurved.svg @@ -0,0 +1,17 @@ + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/src/core/callouts/qgscalloutsregistry.cpp b/src/core/callouts/qgscalloutsregistry.cpp index 02c731fd3fe2..c050a129ef80 100644 --- a/src/core/callouts/qgscalloutsregistry.cpp +++ b/src/core/callouts/qgscalloutsregistry.cpp @@ -51,7 +51,7 @@ QgsCalloutRegistry::QgsCalloutRegistry() // init registry with known callouts addCalloutType( new QgsCalloutMetadata( QStringLiteral( "simple" ), QObject::tr( "Simple lines" ), QgsApplication::getThemeIcon( QStringLiteral( "labelingCalloutSimple.svg" ) ), QgsSimpleLineCallout::create ) ); addCalloutType( new QgsCalloutMetadata( QStringLiteral( "manhattan" ), QObject::tr( "Manhattan lines" ), QgsApplication::getThemeIcon( QStringLiteral( "labelingCalloutManhattan.svg" ) ), QgsManhattanLineCallout::create ) ); - addCalloutType( new QgsCalloutMetadata( QStringLiteral( "curved" ), QObject::tr( "Curved lines" ), QgsApplication::getThemeIcon( QStringLiteral( "labelingCalloutSimple.svg" ) ), QgsCurvedLineCallout::create ) ); + addCalloutType( new QgsCalloutMetadata( QStringLiteral( "curved" ), QObject::tr( "Curved lines" ), QgsApplication::getThemeIcon( QStringLiteral( "labelingCalloutCurved.svg" ) ), QgsCurvedLineCallout::create ) ); addCalloutType( new QgsCalloutMetadata( QStringLiteral( "balloon" ), QObject::tr( "Balloons" ), QgsApplication::getThemeIcon( QStringLiteral( "labelingCalloutManhattan.svg" ) ), QgsBalloonCallout::create ) ); }