From 388b37a1a9d858690c29fe35d7cebfabb76b5ff8 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 8 Sep 2017 16:17:46 +1000 Subject: [PATCH] Hide non-functional style related browser actions --- src/app/geocms/geonode/qgsgeonodedataitems.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/geocms/geonode/qgsgeonodedataitems.cpp b/src/app/geocms/geonode/qgsgeonodedataitems.cpp index e0f80c11893..0bb73316231 100644 --- a/src/app/geocms/geonode/qgsgeonodedataitems.cpp +++ b/src/app/geocms/geonode/qgsgeonodedataitems.cpp @@ -179,10 +179,12 @@ QVector QgsGeoNodeServiceItem::createChildren() } // add new action menus to the layer item + QList actions; +#if 0 QAction *actionCopyStyle = new QAction( tr( "Copy Style" ), this ); QAction *actionPasteStyle = new QAction( tr( "Paste Style" ), this ); - QList actions; actions << actionCopyStyle << actionPasteStyle; +#endif Q_FOREACH ( QgsDataItem *item, serviceItems.keys() ) {