Skip to content

Commit

Permalink
fix clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and github-actions[bot] committed Apr 26, 2023
1 parent 44d8c41 commit 59fd649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/app/mesh/qgsmaptooleditmeshframe.cpp
Expand Up @@ -1626,7 +1626,7 @@ bool QgsMapToolEditMeshFrame::isFaceSelected( int faceIndex )
return true;
}

void QgsMapToolEditMeshFrame::setSelectedVertices( const QList<int> newSelectedVertices, Qgis::SelectBehavior behavior )
void QgsMapToolEditMeshFrame::setSelectedVertices( const QList<int> &newSelectedVertices, Qgis::SelectBehavior behavior )
{
if ( mSelectedVertices.isEmpty() )
{
Expand Down Expand Up @@ -1662,7 +1662,7 @@ void QgsMapToolEditMeshFrame::setSelectedVertices( const QList<int> newSelectedV
prepareSelection();
}

void QgsMapToolEditMeshFrame::setSelectedFaces( const QList<int> newSelectedFaces, Qgis::SelectBehavior behavior )
void QgsMapToolEditMeshFrame::setSelectedFaces( const QList<int> &newSelectedFaces, Qgis::SelectBehavior behavior )
{
bool removeFaces = false;

Expand Down Expand Up @@ -1948,7 +1948,6 @@ void QgsMapToolEditMeshFrame::onUndoRedo()
mCadDockWidget->setEnabledZ( mCadDockWidget->cadEnabled() );
break;
case ForceByLines:
break;
case Selecting:
case SelectingByPolygon:
break;
Expand Down
4 changes: 2 additions & 2 deletions src/app/mesh/qgsmaptooleditmeshframe.h
Expand Up @@ -229,8 +229,8 @@ class APP_EXPORT QgsMapToolEditMeshFrame : public QgsMapToolAdvancedDigitizing
void addNewSelectedVertex( int vertexIndex );
void removeFromSelection( int vertexIndex );
bool isFaceSelected( int faceIndex );
void setSelectedVertices( const QList<int> newSelectedVertices, Qgis::SelectBehavior behavior );
void setSelectedFaces( const QList<int> newSelectedFaces, Qgis::SelectBehavior behavior );
void setSelectedVertices( const QList<int> &newSelectedVertices, Qgis::SelectBehavior behavior );
void setSelectedFaces( const QList<int> &newSelectedFaces, Qgis::SelectBehavior behavior );
void selectByGeometry( const QgsGeometry &geometry, Qt::KeyboardModifiers modifiers );
void selectTouchedByGeometry( const QgsGeometry &geometry, Qgis::SelectBehavior behavior );
void selectContainedByGeometry( const QgsGeometry &geometry, Qgis::SelectBehavior behavior );
Expand Down

0 comments on commit 59fd649

Please sign in to comment.