Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 20, 2019
1 parent b8b6688 commit 84f8891
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
Expand Up @@ -109,7 +109,7 @@ QWidget *QgsProcessingBooleanWidgetWrapper::createWidget()
emit widgetValueHasChanged( this ); emit widgetValueHasChanged( this );
} ); } );
return mCheckBox; return mCheckBox;
}; }


case QgsProcessingGui::Batch: case QgsProcessingGui::Batch:
case QgsProcessingGui::Modeler: case QgsProcessingGui::Modeler:
Expand Down Expand Up @@ -255,7 +255,7 @@ QWidget *QgsProcessingCrsWidgetWrapper::createWidget()
case QgsProcessingGui::Batch: case QgsProcessingGui::Batch:
{ {
return mProjectionSelectionWidget; return mProjectionSelectionWidget;
}; }


case QgsProcessingGui::Modeler: case QgsProcessingGui::Modeler:
{ {
Expand Down Expand Up @@ -427,7 +427,7 @@ QWidget *QgsProcessingStringWidgetWrapper::createWidget()
} ); } );
return mLineEdit; return mLineEdit;
} }
}; }


case QgsProcessingGui::Batch: case QgsProcessingGui::Batch:
{ {
Expand Down Expand Up @@ -531,7 +531,7 @@ QWidget *QgsProcessingAuthConfigWidgetWrapper::createWidget()
emit widgetValueHasChanged( this ); emit widgetValueHasChanged( this );
} ); } );
return mAuthConfigSelect; return mAuthConfigSelect;
}; }
} }
return nullptr; return nullptr;
} }
Expand Down Expand Up @@ -718,7 +718,7 @@ QWidget *QgsProcessingNumericWidgetWrapper::createWidget()
connect( mSpinBox, qgis::overload<int>::of( &QgsSpinBox::valueChanged ), this, [ = ] { emit widgetValueHasChanged( this ); } ); connect( mSpinBox, qgis::overload<int>::of( &QgsSpinBox::valueChanged ), this, [ = ] { emit widgetValueHasChanged( this ); } );


return spinBox; return spinBox;
}; }
} }
return nullptr; return nullptr;
} }
Expand Down Expand Up @@ -1134,7 +1134,7 @@ QWidget *QgsProcessingRangeWidgetWrapper::createWidget()
} ); } );


return w; return w;
}; }
} }
return nullptr; return nullptr;
} }
Expand Down Expand Up @@ -1221,7 +1221,7 @@ QWidget *QgsProcessingMatrixWidgetWrapper::createWidget()
case QgsProcessingGui::Modeler: case QgsProcessingGui::Modeler:
{ {
return mMatrixWidget; return mMatrixWidget;
}; }
} }
return nullptr; return nullptr;
} }
Expand Down Expand Up @@ -1393,7 +1393,7 @@ QWidget *QgsProcessingFileWidgetWrapper::createWidget()
emit widgetValueHasChanged( this ); emit widgetValueHasChanged( this );
} ); } );
return mFileWidget; return mFileWidget;
}; }
} }
return nullptr; return nullptr;
} }
Expand Down Expand Up @@ -1500,7 +1500,7 @@ QWidget *QgsProcessingExpressionWidgetWrapper::createWidget()
} ); } );
return mFieldExpWidget; return mFieldExpWidget;
} }
}; }
} }
return nullptr; return nullptr;
} }
Expand Down Expand Up @@ -1892,7 +1892,7 @@ QWidget *QgsProcessingEnumWidgetWrapper::createWidget()
} ); } );
return mComboBox; return mComboBox;
} }
}; }
} }
return nullptr; return nullptr;
} }
Expand Down Expand Up @@ -2409,8 +2409,8 @@ void QgsProcessingPointPanel::clear()
void QgsProcessingPointPanel::setValue( const QgsPointXY &point, const QgsCoordinateReferenceSystem &crs ) void QgsProcessingPointPanel::setValue( const QgsPointXY &point, const QgsCoordinateReferenceSystem &crs )
{ {
QString newText = QStringLiteral( "%1,%2" ) QString newText = QStringLiteral( "%1,%2" )
.arg( QString::number( point.x(), 'f' ) ) .arg( QString::number( point.x(), 'f' ),
.arg( QString::number( point.y(), 'f' ) ); QString::number( point.y(), 'f' ) );


mCrs = crs; mCrs = crs;
if ( mCrs.isValid() ) if ( mCrs.isValid() )
Expand Down

0 comments on commit 84f8891

Please sign in to comment.