Skip to content
Permalink
Browse files

Remove some unused/empty code

(cherry picked from commit 1dde86a)
  • Loading branch information
nyalldawson committed Dec 16, 2019
1 parent f8eb274 commit 771474e0f9f5ec677c1e3030e01715d12997c243
Showing with 0 additions and 29 deletions.
  1. +0 −14 src/app/qgsprojectproperties.cpp
  2. +0 −15 src/app/qgsprojectproperties.h
@@ -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();
@@ -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
*/

0 comments on commit 771474e

Please sign in to comment.
You can’t perform that action at this time.