Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Remove unused variable
- Loading branch information
|
@@ -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 |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.