Changeset 8501 in ntrip for branches/BNC_2.12/src/bnctabledlg.cpp
- Timestamp:
- Sep 27, 2018, 10:52:07 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bnctabledlg.cpp
r8178 r8501 193 193 t_irc bncTableDlg::getFullTable(const QString& ntripVersion, 194 194 const QString& casterHost, 195 int casterPort, QStringList& allLines, 195 int casterPort, 196 const QString& casterUser, 197 const QString& casterPassword, 198 QStringList& allLines, 196 199 bool alwaysRead) { 197 200 … … 229 232 url.setScheme("http"); 230 233 } 231 234 url.setUserName(QUrl::toPercentEncoding(casterUser)); 235 url.setPassword(QUrl::toPercentEncoding(casterPassword)); 232 236 QByteArray outData; 233 237 query->waitForRequestResult(url, outData); … … 260 264 _casterHostComboBox->currentText(), 261 265 _casterPortLineEdit->text().toInt(), 266 _casterUserLineEdit->text(), 267 _casterPasswordLineEdit->text(), 262 268 _allLines, true) != success ) { 263 269 QMessageBox::warning(0, "BNC", "Cannot retrieve table of data"); … … 382 388 format.replace(" ", "_"); 383 389 if (_table->isItemSelected(item)) { 384 url.setPath( item->text());390 url.setPath("/"+item->text()); 385 391 mountPoints->push_back(url.toString() + " " + format + " " + country + " " + latitude 386 392 + " " + longitude + " " + nmea + " " + ntripVersion);
Note:
See TracChangeset
for help on using the changeset viewer.