Skip to content
Permalink
Browse files

add the new icons for duplication

for duplicate feature and duplicate feature digitize there are new icons. they are added to the project now.
  • Loading branch information
signedav committed Dec 13, 2017
1 parent 67abdd3 commit 1295efc4a3c97ae83245b6ab8c859169759f8375
Showing with 4 additions and 2 deletions.
  1. +2 −0 images/images.qrc
  2. +2 −2 src/app/qgisapp.cpp
@@ -618,6 +618,8 @@
<file>themes/default/mIconPythonFile.svg</file>
<file>themes/default/mIconQptFile.svg</file>
<file>themes/default/mActionNewPage.svg</file>
<file>themes/default/mActionDuplicateFeatureDigitized.svg</file>
<file>themes/default/mActionDuplicateFeature.svg</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
@@ -7615,7 +7615,7 @@ void QgisApp::setupDuplicateFeaturesAction()
{
QgsMapLayerAction *action = new QgsMapLayerAction( QString( tr( "Duplicate feature" ) ),
this, QgsMapLayerAction::AllActions,
QgsApplication::getThemeIcon( QStringLiteral( "/mIconAtlas.svg" ) ) );
QgsApplication::getThemeIcon( QStringLiteral( "/mActionDuplicateFeature.svg" ) ) );

QgsGui::mapLayerActionRegistry()->addMapLayerAction( action );
connect( action, &QgsMapLayerAction::triggeredForFeature, this, [this]( QgsMapLayer * layer, const QgsFeature & feat )
@@ -7626,7 +7626,7 @@ void QgisApp::setupDuplicateFeaturesAction()

action = new QgsMapLayerAction( QString( tr( "Duplicate feature redigitized" ) ),
this, QgsMapLayerAction::AllActions,
QgsApplication::getThemeIcon( QStringLiteral( "/mIconAms.svg" ) ) );
QgsApplication::getThemeIcon( QStringLiteral( "/mActionDuplicateFeatureDigitized.svg" ) ) );

QgsGui::mapLayerActionRegistry()->addMapLayerAction( action );
connect( action, &QgsMapLayerAction::triggeredForFeature, this, [this]( QgsMapLayer * layer, const QgsFeature & feat )

0 comments on commit 1295efc

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