- Timestamp:
- Sep 7, 2006, 3:52:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r115 r116 230 230 //////////////////////////////////////////////////////////////////////////// 231 231 void 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); 243 235 } 244 236 }
Note:
See TracChangeset
for help on using the changeset viewer.