Changeset 9959 in ntrip for trunk/BNC/src/pppWidgets.cpp


Ignore:
Timestamp:
Jan 26, 2023, 11:51:50 AM (15 months ago)
Author:
stuerze
Message:

minor changes to be msvc compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppWidgets.cpp

    r9907 r9959  
    612612void t_pppWidgets::slotDelStation() {
    613613  int nRows = _staTable->rowCount();
    614   bool flg[nRows];
     614  std::vector <bool> flg(nRows);
    615615  for (int iRow = 0; iRow < nRows; iRow++) {
    616     if (_staTable->isItemSelected(_staTable->item(iRow,1))) {
     616    if (_staTable->item(iRow,1)->isSelected()) {
    617617      flg[iRow] = true;
    618618    }
Note: See TracChangeset for help on using the changeset viewer.