Skip to content

Commit 97eff21

Browse files
committedOct 3, 2017
Add some consistency
in variables naming according to the name used in the comment few lines above
1 parent 4239abe commit 97eff21

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,10 +2301,10 @@ void QgisApp::createToolBars()
23012301

23022302
QToolButton *bt = new QToolButton( mAttributesToolBar );
23032303
bt->setPopupMode( QToolButton::MenuButtonPopup );
2304-
QList<QAction *> selectActions;
2305-
selectActions << mActionSelectByForm << mActionSelectByExpression << mActionSelectAll
2306-
<< mActionInvertSelection;
2307-
bt->addActions( selectActions );
2304+
QList<QAction *> selectionActions;
2305+
selectionActions << mActionSelectByForm << mActionSelectByExpression << mActionSelectAll
2306+
<< mActionInvertSelection;
2307+
bt->addActions( selectionActions );
23082308

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

23322332
bt = new QToolButton( mAttributesToolBar );
23332333
bt->setPopupMode( QToolButton::MenuButtonPopup );
2334-
QList<QAction *> selectionActions;
2335-
selectionActions << mActionSelectFeatures << mActionSelectPolygon
2336-
<< mActionSelectFreehand << mActionSelectRadius;
2337-
bt->addActions( selectionActions );
2334+
QList<QAction *> selectActions;
2335+
selectActions << mActionSelectFeatures << mActionSelectPolygon
2336+
<< mActionSelectFreehand << mActionSelectRadius;
2337+
bt->addActions( selectActions );
23382338

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

0 commit comments

Comments
 (0)
Please sign in to comment.