Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8ad858b

Browse files
nyalldawsongithub-actions[bot]
authored andcommittedApr 24, 2023
Update src/core/vector/qgsvectordataprovider.cpp
1 parent 9406998 commit 8ad858b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/vector/qgsvectordataprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ static bool _compareEncodings( const QString &s1, const QString &s2 )
662662

663663
static bool _removeDuplicateEncodings( const QString &s1, const QString &s2 )
664664
{
665-
return ( s1.toLower() == s2.toLower() );
665+
return ( s1.compare( s2, Qt::CaseInsensitive ) == 0 );
666666
}
667667

668668
QStringList QgsVectorDataProvider::availableEncodings()

0 commit comments

Comments
 (0)
Please sign in to comment.