Skip to content
Permalink
Browse files

Remove unused variable

  • Loading branch information
m-kuhn authored and nyalldawson committed Dec 18, 2020
1 parent 5a688e2 commit b5d46369aa75dd547483988ea52574c0b1b1ad76
@@ -562,8 +562,6 @@ void QgsPGRootItem::onConnectionsChanged()
refresh();
}

QMainWindow *QgsPGRootItem::sMainWindow = nullptr;

QString QgsPostgresDataItemProvider::name()
{
return QStringLiteral( "PostGIS" );
@@ -40,8 +40,6 @@ class QgsPGRootItem : public QgsConnectionsRootItem

QVariant sortKey() const override { return 3; }

static QMainWindow *sMainWindow;

public slots:
void onConnectionsChanged();
};
@@ -96,11 +96,6 @@ QList<QgsProjectStorageGuiProvider *> QgsPostgresProviderGuiMetadata::projectSto
return providers;
}

void QgsPostgresProviderGuiMetadata::registerGui( QMainWindow *mainWindow )
{
QgsPGRootItem::sMainWindow = mainWindow;
}

#ifndef HAVE_STATIC_PROVIDERS
QGISEXTERN QgsProviderGuiMetadata *providerGuiMetadataFactory()
{
@@ -29,7 +29,6 @@ class QgsPostgresProviderGuiMetadata: public QgsProviderGuiMetadata
QList<QgsSourceSelectProvider *> sourceSelectProviders() override;
QList<QgsDataItemGuiProvider *> dataItemGuiProviders() override;
QList<QgsProjectStorageGuiProvider *> projectStorageGuiProviders() override;
void registerGui( QMainWindow *mainWindow ) override;
};

#endif // QGSPOSTGRESPROVIDERGUI_H

0 comments on commit b5d4636

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