diff --git a/src/core/browser/qgsfilebaseddataitemprovider.cpp b/src/core/browser/qgsfilebaseddataitemprovider.cpp index c09048b2c3ca..fbe7356d4650 100644 --- a/src/core/browser/qgsfilebaseddataitemprovider.cpp +++ b/src/core/browser/qgsfilebaseddataitemprovider.cpp @@ -370,7 +370,8 @@ QgsAbstractDatabaseProviderConnection *QgsFileDataCollectionItem::databaseConnec } const QString driverName = GDALGetDriverShortName( hDriver ); - if ( driverName == QLatin1String( "PDF" ) ) + if ( driverName == QLatin1String( "PDF" ) + || driverName == QLatin1String( "DXF" ) ) { // unwanted drivers -- it's slow to create connections for these, and we don't really want // to expose database capabilities for them (even though they kind of are database formats)