Skip to content
Permalink
Browse files

fix case

  • Loading branch information
3nids committed Jan 23, 2018
1 parent 4d41dfb commit 649b5ee4df082b337edd0f1f84e4c7f19d367f72
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/app/qgssnappingwidget.cpp
@@ -89,7 +89,7 @@ QgsSnappingWidget::QgsSnappingWidget( QgsProject *project, QgsMapCanvas *canvas,
mLayerTreeView->resizeColumnToContents( 0 );

// enable button
mEnabledAction = new QAction( tr( "toggle snapping" ), this );
mEnabledAction = new QAction( tr( "Toggle snapping" ), this );
mEnabledAction->setCheckable( true );
mEnabledAction->setIcon( QIcon( QgsApplication::getThemeIcon( "/mIconSnapping.svg" ) ) );
mEnabledAction->setToolTip( tr( "toggle snapping (S)" ) );
@@ -159,23 +159,23 @@ QgsSnappingWidget::QgsSnappingWidget( QgsProject *project, QgsMapCanvas *canvas,
connect( mUnitsComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsSnappingWidget::changeUnit );

// topological editing button
mTopologicalEditingAction = new QAction( tr( "topological editing" ), this );
mTopologicalEditingAction = new QAction( tr( "Topological editing" ), this );
mTopologicalEditingAction->setCheckable( true );
mTopologicalEditingAction->setIcon( QIcon( QgsApplication::getThemeIcon( "/mIconTopologicalEditing.svg" ) ) );
mTopologicalEditingAction->setToolTip( tr( "Enable Topological Editing" ) );
mTopologicalEditingAction->setObjectName( QStringLiteral( "TopologicalEditingAction" ) );
connect( mTopologicalEditingAction, &QAction::toggled, this, &QgsSnappingWidget::enableTopologicalEditing );

// snapping on intersection button
mIntersectionSnappingAction = new QAction( tr( "snapping on intersection" ), this );
mIntersectionSnappingAction = new QAction( tr( "Snapping on intersection" ), this );
mIntersectionSnappingAction->setCheckable( true );
mIntersectionSnappingAction->setIcon( QIcon( QgsApplication::getThemeIcon( "/mIconSnappingIntersection.svg" ) ) );
mIntersectionSnappingAction->setToolTip( tr( "Enable Snapping on Intersection" ) );
mIntersectionSnappingAction->setObjectName( QStringLiteral( "IntersectionSnappingAction" ) );
connect( mIntersectionSnappingAction, &QAction::toggled, this, &QgsSnappingWidget::enableIntersectionSnapping );

// snapping on intersection button
mEnableTracingAction = new QAction( tr( "enable tracing" ), this );
mEnableTracingAction = new QAction( tr( "Enable tracing" ), this );
mEnableTracingAction->setCheckable( true );
mEnableTracingAction->setIcon( QIcon( QgsApplication::getThemeIcon( "/mActionTracing.svg" ) ) );
mEnableTracingAction->setToolTip( tr( "Enable Tracing (T)" ) );

0 comments on commit 649b5ee

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