Skip to content

Commit b54c981

Browse files
committedJul 14, 2013
Remove some old code missed from 84f4346
1 parent 731ac4f commit b54c981

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎src/providers/wfs/qgswfssourceselect.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ void QgsWFSSourceSelect::capabilitiesReplyFinished()
207207
}
208208
// handle errors
209209
QMessageBox::critical( 0, title, mCapabilities->errorMessage() );
210+
211+
mAddButton->setEnabled( false );
210212
return;
211213
}
212214

‎src/providers/wfs/qgswfssourceselect.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class QgsWFSSourceSelect: public QDialog, private Ui::QgsWFSSourceSelectBase
6060
The first string is the typename, the corresponding list
6161
stores the CRS for the typename in the form 'EPSG:XXXX'*/
6262
std::map<QString, std::list<QString> > mAvailableCRS;
63-
QAbstractButton* btnAdd;
6463
QgsWFSCapabilities* mCapabilities;
6564
QString mUri; // data source URI
6665
QgsWFSItemDelegate* mItemDelegate;

0 commit comments

Comments
 (0)
Please sign in to comment.