mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
Followup 1f8708f, fix src / scheme detection
Thanks @nirvn for finding this bug
This commit is contained in:
parent
f2d8bdea4e
commit
1686f0d084
@ -4668,8 +4668,7 @@ bool QgisApp::addVectorLayers( const QStringList &layerQStringList, const QStrin
|
||||
}
|
||||
|
||||
QgsDebugMsgLevel( "completeBaseName: " + baseName, 2 );
|
||||
|
||||
const bool isVsiCurl { src.startsWith( QLatin1String( "/vsicurl", Qt::CaseInsensitive ) ) };
|
||||
const bool isVsiCurl { src.startsWith( QLatin1String( "/vsicurl" ), Qt::CaseInsensitive ) };
|
||||
const auto scheme { QUrl( src ).scheme() };
|
||||
const bool isRemoteUrl { scheme.startsWith( QStringLiteral( "http" ) ) || scheme == QStringLiteral( "ftp" ) };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user