Skip to content

Commit a5957af

Browse files
committed
Remove unused code
1 parent 003bf3a commit a5957af

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/app/qgisapp.cpp

-14
Original file line numberDiff line numberDiff line change
@@ -4441,20 +4441,6 @@ void QgisApp::askUserForOGRSublayers( QgsVectorLayer *layer )
44414441
}
44424442
}
44434443

4444-
void QgisApp::addGeonodeLayer()
4445-
{
4446-
QgsGeoNodeSourceSelect *geonodes = new QgsGeoNodeSourceSelect( this, 0, QgsProviderRegistry::WidgetMode::None );
4447-
if ( !geonodes )
4448-
{
4449-
QMessageBox::warning( this, tr( "Geonode" ), tr( "Cannot get Geonode select dialog." ) );
4450-
return;
4451-
}
4452-
//connect( geonodes, static_cast<void ( QgsGeoNodeSourceSelect::* )()>( &QgsGeoNodeSourceSelect::addRasterLayer ), this, static_cast<void ( QgisApp::* )()>( &QgisApp::addRasterLayer ) );
4453-
connect( geonodes, &QgsGeoNodeSourceSelect::addWfsLayer, this, &QgisApp::addVectorLayer );
4454-
geonodes->exec();
4455-
delete geonodes;
4456-
}
4457-
44584444
void QgisApp::addDatabaseLayer()
44594445
{
44604446
#ifdef HAVE_POSTGRESQL

src/app/qgisapp.h

-2
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,6 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
895895
void sponsors();
896896
//! About QGIS
897897
void about();
898-
//! Add a Geonode layer to the map
899-
void addGeonodeLayer();
900898
//#ifdef HAVE_POSTGRESQL
901899
//! Add a databaselayer to the map
902900
void addDatabaseLayer();

0 commit comments

Comments
 (0)