Changeset 8500 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 27, 2018, 10:51:36 AM (6 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r8417 r8500 137 137 138 138 QStringList table; 139 bncTableDlg::getFullTable(_ntripVersion, _mountPoint.host(), 140 _mountPoint.port(), table, true);139 bncTableDlg::getFullTable(_ntripVersion, _mountPoint.host(), _mountPoint.port(), 140 _mountPoint.userName(), _mountPoint.password(), table, true); 141 141 QString net; 142 142 QStringListIterator it(table); -
trunk/BNC/src/bnctabledlg.cpp
r8269 r8500 198 198 t_irc bncTableDlg::getFullTable(const QString& ntripVersion, 199 199 const QString& casterHost, 200 int casterPort, QStringList& allLines, 200 int casterPort, 201 const QString& casterUser, 202 const QString& casterPassword, 203 QStringList& allLines, 201 204 bool alwaysRead) { 202 205 … … 234 237 url.setScheme("http"); 235 238 } 236 239 url.setUserName(QUrl::toPercentEncoding(casterUser)); 240 url.setPassword(QUrl::toPercentEncoding(casterPassword)); 237 241 QByteArray outData; 238 242 query->waitForRequestResult(url, outData); … … 265 269 _casterHostComboBox->currentText(), 266 270 _casterPortLineEdit->text().toInt(), 271 _casterUserLineEdit->text(), 272 _casterPasswordLineEdit->text(), 267 273 _allLines, true) != success ) { 268 274 QMessageBox::warning(0, "BNC", "Cannot retrieve table of data"); -
trunk/BNC/src/bnctabledlg.h
r8252 r8500 62 62 bncTableDlg(QWidget* parent); 63 63 ~bncTableDlg(); 64 static t_irc getFullTable(const QString& ntripVersion, 64 static t_irc getFullTable(const QString& ntripVersion, 65 65 const QString& casterHost, int casterPort, 66 const QString& casterUser, const QString& casterPassword, 66 67 QStringList& allLines, bool alwaysRead = true); 67 68
Note:
See TracChangeset
for help on using the changeset viewer.