Skip to content
Permalink
Browse files

Fix clazy case insensitive check warning

  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent 1bb0ef4 commit cb752b604320af2c50c98985b67e98663c844ffd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -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() )

0 comments on commit cb752b6

Please sign in to comment.
You can’t perform that action at this time.