Remove some unused/empty code

This commit is contained in:
Nyall Dawson 2019-12-16 11:41:33 +10:00
parent c2441caa9b
commit 1dde86a70e
2 changed files with 0 additions and 29 deletions

View File

@ -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();

View File

@ -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
*/