@@ -125,7 +125,7 @@ QList<QgsMapToolIdentify::IdentifyResult> QgsIdentifyMenu::exec( const QList<Qgs
125
125
if ( !singleLayer && mAllowMultipleReturn && idResults.count () > 1 )
126
126
{
127
127
addSeparator ();
128
- QAction* allAction = new QAction ( tr ( " %1 for all (%2)" ).arg ( mDefaultActionName ).arg ( idResults.count () ), this );
128
+ QAction* allAction = new QAction ( QgsApplication::getThemeIcon ( " /mActionIdentify.svg " ), tr ( " %1 all (%2)" ).arg ( mDefaultActionName ).arg ( idResults.count () ), this );
129
129
allAction->setData ( QVariant::fromValue<ActionData>( ActionData ( 0 ) ) );
130
130
connect ( allAction, SIGNAL ( hovered () ), this , SLOT ( handleMenuHover () ) );
131
131
addAction ( allAction );
@@ -365,7 +365,7 @@ void QgsIdentifyMenu::addVectorLayer( QgsVectorLayer* layer, const QList<QgsMapT
365
365
continue ;
366
366
367
367
// add default identify action
368
- QAction* identifyFeatureAction = new QAction ( mDefaultActionName , featureMenu );
368
+ QAction* identifyFeatureAction = new QAction ( QgsApplication::getThemeIcon ( " /mActionIdentify.svg " ), mDefaultActionName , featureMenu );
369
369
connect ( identifyFeatureAction, SIGNAL ( hovered () ), this , SLOT ( handleMenuHover () ) );
370
370
identifyFeatureAction->setData ( QVariant::fromValue<ActionData>( ActionData ( layer, result.mFeature .id () ) ) );
371
371
featureMenu->addAction ( identifyFeatureAction );
@@ -397,7 +397,7 @@ void QgsIdentifyMenu::addVectorLayer( QgsVectorLayer* layer, const QList<QgsMapT
397
397
if ( mAllowMultipleReturn && results.count () > 1 )
398
398
{
399
399
layerMenu->addSeparator ();
400
- QAction* allAction = new QAction ( tr ( " %1 for all (%2)" ).arg ( mDefaultActionName ).arg ( results.count () ), layerMenu );
400
+ QAction* allAction = new QAction ( QgsApplication::getThemeIcon ( " /mActionIdentify.svg " ), tr ( " %1 all (%2)" ).arg ( mDefaultActionName ).arg ( results.count () ), layerMenu );
401
401
allAction->setData ( QVariant::fromValue<ActionData>( ActionData ( layer ) ) );
402
402
connect ( allAction, SIGNAL ( hovered () ), this , SLOT ( handleMenuHover () ) );
403
403
layerMenu->addAction ( allAction );
0 commit comments