Skip to content

Commit

Permalink
Fix clazy case insensitive check warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent 1bb0ef4 commit cb752b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4387,7 +4387,7 @@ QgsOgrLayerUniquePtr QgsOgrProviderUtils::getLayer( const QString &dsName,

static QDateTime getLastModified( const QString &dsName )
{
if ( dsName.toLower().endsWith( ".gpkg" ) )
if ( dsName.endsWith( ".gpkg", Qt::CaseInsensitive ) )
{
QFileInfo info( dsName + "-wal" );
if ( info.exists() )
Expand Down

0 comments on commit cb752b6

Please sign in to comment.