mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
[Geometry Checker] Fix availableResolutionMethods()
This commit is contained in:
parent
5f8c4ae5f5
commit
2fb4f894c7
@ -65,10 +65,10 @@ QList<QgsGeometryCheckResolutionMethod> QgsGeometryCheck::availableResolutionMet
|
|||||||
const QStringList methods = resolutionMethods();
|
const QStringList methods = resolutionMethods();
|
||||||
Q_NOWARN_DEPRECATED_POP
|
Q_NOWARN_DEPRECATED_POP
|
||||||
|
|
||||||
const int i = 0;
|
int i = 0;
|
||||||
for ( const QString &method : methods )
|
for ( const QString &method : methods )
|
||||||
{
|
{
|
||||||
fixes.append( QgsGeometryCheckResolutionMethod( i, method, QString(), false ) );
|
fixes.append( QgsGeometryCheckResolutionMethod( i++, method, QString(), false ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
return fixes;
|
return fixes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user