Changeset 101 in ntrip
- Timestamp:
- Sep 6, 2006, 8:12:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r93 r101 174 174 //////////////////////////////////////////////////////////////////////////// 175 175 void bncWindow::slotAddMountPoints() { 176 177 QSettings settings; 178 QString proxyHost = settings.value("proxyHost").toString(); 179 int proxyPort = settings.value("proxyPort").toInt(); 180 if (proxyHost != _proxyHostLineEdit->text() || 181 proxyPort != _proxyPortLineEdit->text().toInt()) { 182 int iRet = QMessageBox::question(this, "Question", "Proxy options" 183 "changed. Use the new ones?", 184 QMessageBox::Yes, QMessageBox::No, 185 QMessageBox::NoButton); 186 if (iRet == QMessageBox::Yes) { 187 settings.setValue("proxyHost", _proxyHostLineEdit->text()); 188 settings.setValue("proxyPort", _proxyPortLineEdit->text()); 189 } 190 } 191 176 192 bncTableDlg* dlg = new bncTableDlg(this); 177 193 dlg->move(this->pos().x()+50, this->pos().y()+50);
Note:
See TracChangeset
for help on using the changeset viewer.