Skip to content
Permalink
Browse files

Remove unused sMainWindow in QgsHanaRootItem

  • Loading branch information
mrylov committed Dec 21, 2020
1 parent cdd4538 commit c769a9b04bf0393ee81b1d9923d7dfd3436436d5
@@ -363,8 +363,6 @@ QVector<QgsDataItem *> QgsHanaRootItem::createChildren()
return connections;
}

QMainWindow *QgsHanaRootItem::sMainWindow = nullptr;

QWidget *QgsHanaRootItem::paramWidget()
{
QgsHanaSourceSelect *select = new QgsHanaSourceSelect( nullptr, nullptr,
@@ -40,8 +40,6 @@ class QgsHanaRootItem : public QgsConnectionsRootItem

QWidget *paramWidget() override;

static QMainWindow *sMainWindow;

public slots:
void onConnectionsChanged();
};
@@ -60,11 +60,6 @@ class QgsHanaProviderGuiMetadata : public QgsProviderGuiMetadata
return QList<QgsDataItemGuiProvider *>()
<< new QgsHanaDataItemGuiProvider;
}

void registerGui( QMainWindow *mainWindow ) override
{
QgsHanaRootItem::sMainWindow = mainWindow;
}
};

QGISEXTERN QgsProviderGuiMetadata *providerGuiMetadataFactory()

0 comments on commit c769a9b

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