Skip to content
Permalink
Browse files

Capitalization

  • Loading branch information
nyalldawson committed Sep 14, 2018
1 parent dfe633b commit 3875adf77f4ea795256ea04b50b6feea7d505786
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/app/qgsmaptoolidentifyaction.cpp
  2. +2 −2 src/gui/qgsidentifymenu.cpp
@@ -54,7 +54,7 @@ QgsMapToolIdentifyAction::QgsMapToolIdentifyAction( QgsMapCanvas *canvas )
setCursor( QgsApplication::getThemeCursor( QgsApplication::Cursor::Identify ) );
connect( this, &QgsMapToolIdentify::changedRasterResults, this, &QgsMapToolIdentifyAction::handleChangedRasterResults );
mIdentifyMenu->setAllowMultipleReturn( true );
QgsMapLayerAction *attrTableAction = new QgsMapLayerAction( tr( "Show attribute table" ), mIdentifyMenu, QgsMapLayer::VectorLayer, QgsMapLayerAction::MultipleFeatures );
QgsMapLayerAction *attrTableAction = new QgsMapLayerAction( tr( "Show Attribute Table" ), mIdentifyMenu, QgsMapLayer::VectorLayer, QgsMapLayerAction::MultipleFeatures );
connect( attrTableAction, &QgsMapLayerAction::triggeredForFeatures, this, &QgsMapToolIdentifyAction::showAttributeTable );
identifyMenu()->addCustomAction( attrTableAction );
mSelectionHandler = new QgsMapToolSelectionHandler( canvas, QgsMapToolSelectionHandler::SelectSimple );
@@ -124,7 +124,7 @@ QList<QgsMapToolIdentify::IdentifyResult> QgsIdentifyMenu::exec( const QList<Qgs
if ( !singleLayer && mAllowMultipleReturn && idResults.count() > 1 )
{
addSeparator();
QAction *allAction = new QAction( QgsApplication::getThemeIcon( QStringLiteral( "/mActionIdentify.svg" ) ), tr( "%1 all (%2)" ).arg( mDefaultActionName ).arg( idResults.count() ), this );
QAction *allAction = new QAction( QgsApplication::getThemeIcon( QStringLiteral( "/mActionIdentify.svg" ) ), tr( "%1 All (%2)" ).arg( mDefaultActionName ).arg( idResults.count() ), this );
allAction->setData( QVariant::fromValue<ActionData>( ActionData( nullptr ) ) );
connect( allAction, &QAction::hovered, this, &QgsIdentifyMenu::handleMenuHover );
addAction( allAction );
@@ -419,7 +419,7 @@ void QgsIdentifyMenu::addVectorLayer( QgsVectorLayer *layer, const QList<QgsMapT
if ( mAllowMultipleReturn && results.count() > 1 )
{
layerMenu->addSeparator();
QAction *allAction = new QAction( QgsApplication::getThemeIcon( QStringLiteral( "/mActionIdentify.svg" ) ), tr( "%1 all (%2)" ).arg( mDefaultActionName ).arg( results.count() ), layerMenu );
QAction *allAction = new QAction( QgsApplication::getThemeIcon( QStringLiteral( "/mActionIdentify.svg" ) ), tr( "%1 All (%2)" ).arg( mDefaultActionName ).arg( results.count() ), layerMenu );
allAction->setData( QVariant::fromValue<ActionData>( ActionData( layer ) ) );
connect( allAction, &QAction::hovered, this, &QgsIdentifyMenu::handleMenuHover );
layerMenu->addAction( allAction );

0 comments on commit 3875adf

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