@@ -294,7 +294,6 @@ Q_GUI_EXPORT extern int qt_defaultDpiX();
294
294
#include " qgsuserprofile.h"
295
295
296
296
#include " qgssublayersdialog.h"
297
- #include " geonode/qgsgeonodesourceselect.h"
298
297
#include " ogr/qgsvectorlayersaveasdialog.h"
299
298
300
299
#include " qgsosmdownloaddialog.h"
@@ -1022,11 +1021,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
1022
1021
mActionInstallFromZip = nullptr ;
1023
1022
}
1024
1023
1025
- // add geonode menu under web menu
1026
- addPluginToWebMenu ( mGeonodeMenu ->title (), mActionAddGeonodeLayer );
1027
- mActionAddGeonodeLayer = new QAction ( tr ( " Add GeoNode Layers..." ), this );
1028
- mGeonodeMenu ->addAction ( mActionAddGeonodeLayer );
1029
-
1030
1024
// Set icon size of toolbars
1031
1025
if ( settings.contains ( QStringLiteral ( " IconSize" ) ) )
1032
1026
{
@@ -1795,8 +1789,6 @@ void QgisApp::createActions()
1795
1789
connect ( mActionLabeling , &QAction::triggered, this , &QgisApp::labeling );
1796
1790
connect ( mActionStatisticalSummary , &QAction::triggered, this , &QgisApp::showStatisticsDockWidget );
1797
1791
1798
- // Web Menu Items
1799
-
1800
1792
// Layer Menu Items
1801
1793
1802
1794
connect ( mActionDataSourceManager , &QAction::triggered, this , [ = ]() { dataSourceManager (); } );
@@ -1822,7 +1814,6 @@ void QgisApp::createActions()
1822
1814
connect ( mActionAddAmsLayer , &QAction::triggered, this , [ = ] { dataSourceManager ( QStringLiteral ( " arcgismapserver" ) ); } );
1823
1815
connect ( mActionAddDelimitedText , &QAction::triggered, this , [ = ] { dataSourceManager ( QStringLiteral ( " delimitedtext" ) ); } );
1824
1816
connect ( mActionAddVirtualLayer , &QAction::triggered, this , [ = ] { dataSourceManager ( QStringLiteral ( " virtual" ) ); } );
1825
- connect ( mActionAddGeonodeLayer , &QAction::triggered, this , [ = ] { dataSourceManager ( QStringLiteral ( " geonode" ) ); } );
1826
1817
connect ( mActionOpenTable , &QAction::triggered, this , &QgisApp::attributeTable );
1827
1818
connect ( mActionOpenFieldCalc , &QAction::triggered, this , &QgisApp::fieldCalculator );
1828
1819
connect ( mActionToggleEditing , &QAction::triggered, this , [ = ] { toggleEditing (); } );
@@ -2098,12 +2089,6 @@ void QgisApp::createMenus()
2098
2089
mToolbarMenu = new QMenu ( tr ( " Toolbars" ), this );
2099
2090
mToolbarMenu ->setObjectName ( QStringLiteral ( " mToolbarMenu" ) );
2100
2091
2101
- // Geonode Submenu
2102
- mGeonodeMenu = new QMenu ( tr ( " GeoNode" ), this );
2103
- mGeonodeMenu ->setObjectName ( QStringLiteral ( " mGeonodeMenu" ) );
2104
- // Geonode Action
2105
- mActionAddGeonodeLayer = new QAction ( tr ( " Add GeoNode Layers..." ), this );
2106
-
2107
2092
// Get platform for menu layout customization (Gnome, Kde, Mac, Win)
2108
2093
QDialogButtonBox::ButtonLayout layout =
2109
2094
QDialogButtonBox::ButtonLayout ( style ()->styleHint ( QStyle::SH_DialogButtonLayout, nullptr , this ) );
0 commit comments