Skip to content

Commit

Permalink
remove QgisInterface::actionLayerSelectionSaveAs
Browse files Browse the repository at this point in the history
this has been deprecated since 2.4 and returns null pointer since then.
did not write this in api_break to not overload the document
  • Loading branch information
3nids committed Aug 8, 2016
1 parent aa82141 commit 6f51a13
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions python/gui/qgisinterface.sip
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,6 @@ class QgisInterface : QObject
virtual QAction *actionCancelEdits() = 0;
virtual QAction *actionCancelAllEdits() = 0;
virtual QAction *actionLayerSaveAs() = 0;
/** @deprecated in 2.4 - returns null pointer */
virtual QAction *actionLayerSelectionSaveAs() = 0 /Deprecated/;
virtual QAction *actionRemoveLayer() = 0;
virtual QAction *actionDuplicateLayer() = 0;
virtual QAction *actionLayerProperties() = 0;
Expand Down
1 change: 0 additions & 1 deletion src/app/qgisappinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ QAction *QgisAppInterface::actionRollbackAllEdits() { return qgis->actionRollbac
QAction *QgisAppInterface::actionCancelEdits() { return qgis->actionCancelEdits(); }
QAction *QgisAppInterface::actionCancelAllEdits() { return qgis->actionCancelAllEdits(); }
QAction *QgisAppInterface::actionLayerSaveAs() { return qgis->actionLayerSaveAs(); }
QAction *QgisAppInterface::actionLayerSelectionSaveAs() { return nullptr; }
QAction *QgisAppInterface::actionRemoveLayer() { return qgis->actionRemoveLayer(); }
QAction *QgisAppInterface::actionDuplicateLayer() { return qgis->actionDuplicateLayer(); }
QAction *QgisAppInterface::actionLayerProperties() { return qgis->actionLayerProperties(); }
Expand Down
1 change: 0 additions & 1 deletion src/app/qgisappinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
virtual QAction *actionCancelEdits() override;
virtual QAction *actionCancelAllEdits() override;
virtual QAction *actionLayerSaveAs() override;
virtual QAction *actionLayerSelectionSaveAs() override;
virtual QAction *actionRemoveLayer() override;
virtual QAction *actionDuplicateLayer() override;
virtual QAction *actionLayerProperties() override;
Expand Down
4 changes: 0 additions & 4 deletions src/gui/qgisinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,6 @@ class GUI_EXPORT QgisInterface : public QObject
virtual QAction *actionCancelAllEdits() = 0;
virtual QAction *actionLayerSaveAs() = 0;
/** @deprecated in 2.4 - returns null pointer */
#ifndef Q_MOC_RUN
Q_DECL_DEPRECATED
#endif
virtual QAction *actionLayerSelectionSaveAs() = 0;
virtual QAction *actionRemoveLayer() = 0;
virtual QAction *actionDuplicateLayer() = 0;
virtual QAction *actionLayerProperties() = 0;
Expand Down

0 comments on commit 6f51a13

Please sign in to comment.