Changeset 117 in ntrip
- Timestamp:
- Sep 7, 2006, 4:05:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r116 r117 230 230 //////////////////////////////////////////////////////////////////////////// 231 231 void bncWindow::slotDeleteMountPoints() { 232 for (int iRow = _mountPointsTable->rowCount()-1; iRow >= 0; iRow--) { 232 233 int nRows = _mountPointsTable->rowCount(); 234 bool flg[nRows]; 235 for (int iRow = 0; iRow < nRows; iRow++) { 233 236 if (_mountPointsTable->isItemSelected(_mountPointsTable->item(iRow,1))) { 237 flg[iRow] = true; 238 } 239 else { 240 flg[iRow] = false; 241 } 242 } 243 for (int iRow = nRows-1; iRow >= 0; iRow--) { 244 if (flg[iRow]) { 234 245 _mountPointsTable->removeRow(iRow); 235 246 }
Note:
See TracChangeset
for help on using the changeset viewer.