Skip to content
Permalink
Browse files
remove QgsSpatialiteConnection::deleteConnection
  • Loading branch information
speillet authored and nyalldawson committed Jun 21, 2021
1 parent 46dad15 commit 537bdfd5cdbd50ff4e87f11ca05b3e223aeedd9a
Showing with 0 additions and 9 deletions.
  1. +0 −8 src/providers/spatialite/qgsspatialiteconnection.cpp
  2. +0 −1 src/providers/spatialite/qgsspatialiteconnection.h
@@ -36,14 +36,6 @@ QStringList QgsSpatiaLiteConnection::connectionList()
return settings.childGroups();
}

void QgsSpatiaLiteConnection::deleteConnection( const QString &name )
{
QgsSettings settings;
QString key = "/SpatiaLite/connections/" + name;
settings.remove( key + "/sqlitepath" );
settings.remove( key );
}

QString QgsSpatiaLiteConnection::connectionPath( const QString &name )
{
QgsSettings settings;
@@ -39,7 +39,6 @@ class QgsSpatiaLiteConnection : public QObject
QString path() { return mPath; }

static QStringList connectionList();
static void deleteConnection( const QString &name );
static QString connectionPath( const QString &name );

typedef struct TableEntry

0 comments on commit 537bdfd

Please sign in to comment.