Navigation Menu

Skip to content

Commit

Permalink
remove lineEdit method from projection selection widget
Browse files Browse the repository at this point in the history
this will allow to change the widget design without breaking the API
  • Loading branch information
3nids committed Jan 9, 2015
1 parent 73a2858 commit 7c4f3f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions python/gui/qgsprojectionselectionwidget.sip
Expand Up @@ -20,11 +20,6 @@ class QgsProjectionSelectionWidget : QWidget
*/
QgsGenericProjectionSelector* dialog();

/* Returns a pointer to the line edit used by the widget
* @returns CRS line edit
*/
QLineEdit* lineEdit();

/* Returns the currently selected CRS for the widget
* @returns current CRS
*/
Expand Down
2 changes: 1 addition & 1 deletion src/app/ogr/qgsvectorlayersaveasdialog.cpp
Expand Up @@ -188,7 +188,7 @@ void QgsVectorLayerSaveAsDialog::accept()

void QgsVectorLayerSaveAsDialog::on_mCRSSelection_currentIndexChanged( int idx )
{
mCrsSelector->lineEdit()->setEnabled( idx == 2 );
mCrsSelector->setEnabled( idx == 2 );

QgsCoordinateReferenceSystem crs;
if ( mCRSSelection->currentIndex() == 0 )
Expand Down
5 changes: 0 additions & 5 deletions src/gui/qgsprojectionselectionwidget.h
Expand Up @@ -42,11 +42,6 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
*/
QgsGenericProjectionSelector* dialog() { return mDialog; }

/* Returns a pointer to the line edit used by the widget
* @returns CRS line edit
*/
QLineEdit* lineEdit() { return mCrsLineEdit; }

/* Returns the currently selected CRS for the widget
* @returns current CRS
*/
Expand Down

0 comments on commit 7c4f3f9

Please sign in to comment.