mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Remove some unused/empty code
This commit is contained in:
parent
c2441caa9b
commit
1dde86a70e
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user