Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/core/vector/qgsvectordataprovider.cpp
  • Loading branch information
nyalldawson committed Apr 24, 2023
1 parent 922432c commit edea1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/vector/qgsvectordataprovider.cpp
Expand Up @@ -662,7 +662,7 @@ static bool _compareEncodings( const QString &s1, const QString &s2 )

static bool _removeDuplicateEncodings( const QString &s1, const QString &s2 )
{
return ( s1.toLower() == s2.toLower() );
return ( s1.compare( s2, Qt::CaseInsensitive ) == 0 );
}

QStringList QgsVectorDataProvider::availableEncodings()
Expand Down

0 comments on commit edea1fe

Please sign in to comment.