Skip to content

Commit cb752b6

Browse files
committedFeb 2, 2018
Fix clazy case insensitive check warning
1 parent 1bb0ef4 commit cb752b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/ogr/qgsogrprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4387,7 +4387,7 @@ QgsOgrLayerUniquePtr QgsOgrProviderUtils::getLayer( const QString &dsName,
43874387

43884388
static QDateTime getLastModified( const QString &dsName )
43894389
{
4390-
if ( dsName.toLower().endsWith( ".gpkg" ) )
4390+
if ( dsName.endsWith( ".gpkg", Qt::CaseInsensitive ) )
43914391
{
43924392
QFileInfo info( dsName + "-wal" );
43934393
if ( info.exists() )

0 commit comments

Comments
 (0)
Please sign in to comment.