Skip to content
Permalink
Browse files

Remove unused code

  • Loading branch information
nyalldawson committed Sep 5, 2017
1 parent 003bf3a commit a5957af8db24998e88fd0c78ec499c7d3d57e35d
Showing with 0 additions and 16 deletions.
  1. +0 −14 src/app/qgisapp.cpp
  2. +0 −2 src/app/qgisapp.h
@@ -4441,20 +4441,6 @@ void QgisApp::askUserForOGRSublayers( QgsVectorLayer *layer )
}
}

void QgisApp::addGeonodeLayer()
{
QgsGeoNodeSourceSelect *geonodes = new QgsGeoNodeSourceSelect( this, 0, QgsProviderRegistry::WidgetMode::None );
if ( !geonodes )
{
QMessageBox::warning( this, tr( "Geonode" ), tr( "Cannot get Geonode select dialog." ) );
return;
}
//connect( geonodes, static_cast<void ( QgsGeoNodeSourceSelect::* )()>( &QgsGeoNodeSourceSelect::addRasterLayer ), this, static_cast<void ( QgisApp::* )()>( &QgisApp::addRasterLayer ) );
connect( geonodes, &QgsGeoNodeSourceSelect::addWfsLayer, this, &QgisApp::addVectorLayer );
geonodes->exec();
delete geonodes;
}

void QgisApp::addDatabaseLayer()
{
#ifdef HAVE_POSTGRESQL
@@ -895,8 +895,6 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
void sponsors();
//! About QGIS
void about();
//! Add a Geonode layer to the map
void addGeonodeLayer();
//#ifdef HAVE_POSTGRESQL
//! Add a databaselayer to the map
void addDatabaseLayer();

0 comments on commit a5957af

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