diff --git a/src/app/qgsprojectproperties.cpp b/src/app/qgsprojectproperties.cpp index 8536f961cf0..18e26e58002 100644 --- a/src/app/qgsprojectproperties.cpp +++ b/src/app/qgsprojectproperties.cpp @@ -948,18 +948,12 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas *mapCanvas, QWidget *pa projectionSelectorInitialized(); restoreOptionsBaseUi(); - restoreState(); #ifdef QGISDEBUG checkPageWidgetNameMap(); #endif } -QgsProjectProperties::~QgsProjectProperties() -{ - saveState(); -} - QString QgsProjectProperties::title() const { return titleEdit->text(); @@ -1704,14 +1698,6 @@ void QgsProjectProperties::srIdUpdated() } } -void QgsProjectProperties::saveState() -{ -} - -void QgsProjectProperties::restoreState() -{ -} - void QgsProjectProperties::pbnWMSExtCanvas_clicked() { QgsRectangle ext = mMapCanvas->extent(); diff --git a/src/app/qgsprojectproperties.h b/src/app/qgsprojectproperties.h index 4ac5290a0bd..0d614e1fedf 100644 --- a/src/app/qgsprojectproperties.h +++ b/src/app/qgsprojectproperties.h @@ -51,17 +51,12 @@ class APP_EXPORT QgsProjectProperties : public QgsOptionsDialogBase, private Ui: void setCurrentPage( const QString & ); - ~QgsProjectProperties() override; - /** Every project has a title */ QString title() const; void title( QString const &title ); - //! Returns the projection as a WKT string - QString projectionWkt(); - public slots: /** @@ -212,16 +207,6 @@ class APP_EXPORT QgsProjectProperties : public QgsOptionsDialogBase, private Ui: void populateStyles(); void editSymbol( QComboBox *cbo ); - /** - * Function to save non-base dialog states - */ - void saveState(); - - /** - * Function to restore non-base dialog states - */ - void restoreState(); - /** * Reset the Python macros */