Skip to content
Permalink
Browse files

Add some consistency

in variables naming according to the name used in the comment few lines above
  • Loading branch information
DelazJ committed Oct 3, 2017
1 parent 4239abe commit 97eff218a90bcd930710bedfd58e875d74bd1063
Showing with 8 additions and 8 deletions.
  1. +8 −8 src/app/qgisapp.cpp
@@ -2301,10 +2301,10 @@ void QgisApp::createToolBars()

QToolButton *bt = new QToolButton( mAttributesToolBar );
bt->setPopupMode( QToolButton::MenuButtonPopup );
QList<QAction *> selectActions;
selectActions << mActionSelectByForm << mActionSelectByExpression << mActionSelectAll
<< mActionInvertSelection;
bt->addActions( selectActions );
QList<QAction *> selectionActions;
selectionActions << mActionSelectByForm << mActionSelectByExpression << mActionSelectAll
<< mActionInvertSelection;
bt->addActions( selectionActions );

QAction *defSelectionAction = mActionSelectByForm;
switch ( settings.value( QStringLiteral( "UI/selectionTool" ), 0 ).toInt() )
@@ -2331,10 +2331,10 @@ void QgisApp::createToolBars()

bt = new QToolButton( mAttributesToolBar );
bt->setPopupMode( QToolButton::MenuButtonPopup );
QList<QAction *> selectionActions;
selectionActions << mActionSelectFeatures << mActionSelectPolygon
<< mActionSelectFreehand << mActionSelectRadius;
bt->addActions( selectionActions );
QList<QAction *> selectActions;
selectActions << mActionSelectFeatures << mActionSelectPolygon
<< mActionSelectFreehand << mActionSelectRadius;
bt->addActions( selectActions );

QAction *defSelectAction = mActionSelectFeatures;
switch ( settings.value( QStringLiteral( "UI/selectTool" ), 0 ).toInt() )

0 comments on commit 97eff21

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