Changeset 116 in ntrip for trunk


Ignore:
Timestamp:
Sep 7, 2006, 3:52:42 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r115 r116  
    230230////////////////////////////////////////////////////////////////////////////
    231231void bncWindow::slotDeleteMountPoints() {
    232   while(1) {
    233     bool itemRemoved = false;
    234     for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) {
    235       if (_mountPointsTable->isItemSelected(_mountPointsTable->item(iRow,1))) {
    236         _mountPointsTable->removeRow(iRow);
    237         itemRemoved = true;
    238         break;
    239       }
    240     }
    241     if (!itemRemoved) {
    242       break;
     232  for (int iRow = _mountPointsTable->rowCount()-1; iRow >= 0; iRow--) {
     233    if (_mountPointsTable->isItemSelected(_mountPointsTable->item(iRow,1))) {
     234      _mountPointsTable->removeRow(iRow);
    243235    }
    244236  }
Note: See TracChangeset for help on using the changeset viewer.