Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
strict initializer
  • Loading branch information
elpaso committed May 4, 2023
1 parent 6f694c3 commit f93c2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsadvanceddigitizingdockwidget.cpp
Expand Up @@ -1640,7 +1640,7 @@ bool QgsAdvancedDigitizingDockWidget::filterKeyPress( QKeyEvent *e )
if ( type == QEvent::ShortcutOverride )
{
const QList<double> constActionValues { mCommonAngleActions.values() };
const int currentAngleActionIndex { constActionValues.indexOf( mCommonAngleConstraint ) };
const int currentAngleActionIndex { static_cast<int>( constActionValues.indexOf( mCommonAngleConstraint ) ) };
const QList<QAction *> constActions { mCommonAngleActions.keys( ) };
QAction *nextAngleAction;
if ( e->modifiers() == Qt::ShiftModifier )
Expand Down

0 comments on commit f93c2d7

Please sign in to comment.