Skip to content

Commit

Permalink
Remove some unused/empty code
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 17, 2019
1 parent c2441ca commit 1dde86a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
14 changes: 0 additions & 14 deletions src/app/qgsprojectproperties.cpp
Expand Up @@ -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();
Expand Down Expand Up @@ -1704,14 +1698,6 @@ void QgsProjectProperties::srIdUpdated()
}
}

void QgsProjectProperties::saveState()
{
}

void QgsProjectProperties::restoreState()
{
}

void QgsProjectProperties::pbnWMSExtCanvas_clicked()
{
QgsRectangle ext = mMapCanvas->extent();
Expand Down
15 changes: 0 additions & 15 deletions src/app/qgsprojectproperties.h
Expand Up @@ -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:

/**
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit 1dde86a

Please sign in to comment.