Skip to content


Improved port handling for wfs
Browse files Browse the repository at this point in the history
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 22, 2007
1 parent a1b7d7f commit df895f1
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/providers/wfs/qgswfsdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,17 @@ int QgsWFSData::getWFSData()

//separate host from query string
QUrl requestUrl(mUri);
mHttp.setHost(, requestUrl.port());
int portNr = requestUrl.port();
if(portNr != -1)
mHttp.setHost(, portNr);

//just for a test
//QProgressDialog pd;
//pd.setMaximum(150000000); //shows busy indocator
//QObject::connect(&mHttp, SIGNAL(dataReadProgress(int,int)), &pd, SLOT(setValue(int)));

//loop to read the data
QByteArray readData;
int atEnd = 0;
Expand Down

0 comments on commit df895f1

Please sign in to comment.