mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Merge pull request #62284 from rouault/IsLocalFile_fix
[OGR provider] Fix QgsOgrProviderUtils::IsLocalFile() implementation …
This commit is contained in:
commit
6c9250f95c
@ -1177,7 +1177,7 @@ bool QgsOgrProviderUtils::IsLocalFile( const QString &path )
|
||||
#else
|
||||
QStorageInfo info( dirName );
|
||||
const QString fileSystem( info.fileSystemType() );
|
||||
bool isLocal = path != QLatin1String( "nfs" ) && path != QLatin1String( "smbfs" );
|
||||
bool isLocal = fileSystem != QLatin1String( "nfs" ) && fileSystem != QLatin1String( "smbfs" );
|
||||
if ( !isLocal )
|
||||
QgsDebugMsgLevel( QStringLiteral( "Filesystem for %1 is %2" ).arg( path, fileSystem ), 2 );
|
||||
return isLocal;
|
||||
|
Loading…
x
Reference in New Issue
Block a user