Skip to content
Permalink
Browse files

Fix bad snapping signal names

  • Loading branch information
nyalldawson committed Oct 24, 2016
1 parent 5eb875d commit b4e310120f9b9a4ce085f3cd52b7f680f1383287
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -2077,7 +2077,7 @@ void QgisApp::createToolBars()
mSnappingWidget = new QgsSnappingWidget( QgsProject::instance(), mMapCanvas, mSnappingToolBar );
mSnappingWidget->setObjectName( "mSnappingWidget" );
//mSnappingWidget->setFont( myFont );
connect( mSnappingWidget, SIGNAL( snapSettingsChanged() ), QgsProject::instance(), SIGNAL( snapSettingsChanged() ) );
connect( mSnappingWidget, SIGNAL( snappingConfigChanged() ), QgsProject::instance(), SIGNAL( snappingConfigChanged() ) );
mSnappingToolBar->addWidget( mSnappingWidget );
}

@@ -2435,7 +2435,7 @@ void QgisApp::createStatusBar()
mSnappingWidget = new QgsSnappingWidget( QgsProject::instance(), mMapCanvas, statusBar() );
mSnappingWidget->setObjectName( "mSnappingWidget" );
mSnappingWidget->setFont( myFont );
connect( mSnappingWidget, SIGNAL( snapSettingsChanged() ), QgsProject::instance(), SIGNAL( snapSettingsChanged() ) );
connect( mSnappingWidget, SIGNAL( snappingConfigChanged() ), QgsProject::instance(), SIGNAL( snappingConfigChanged() ) );
statusBar()->addPermanentWidget( mSnappingWidget, 0 );
}

1 comment on commit b4e3101

@m-kuhn

This comment has been minimized.

Copy link
Member

@m-kuhn m-kuhn commented on b4e3101 Oct 24, 2016

Thanks. I'd propose to move such issues to new-style signals. This effectively prevents regressions.

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