- Timestamp:
- Sep 24, 2006, 3:54:56 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncrinex.cpp
r160 r183 161 161 _nextCloseEpoch = QDateTime(nextDate, nextTime); 162 162 163 path += _statID.left(4) + 163 QString ID4 = _statID.left(4); 164 165 // Check name conflict 166 // ------------------- 167 QString distStr; 168 int num = 0; 169 QListIterator<QString> it(settings.value("mountPoints").toStringList()); 170 while (it.hasNext()) { 171 QString mp = it.next(); 172 if (mp.indexOf(ID4) != -1) { 173 ++num; 174 } 175 } 176 if (num > 1) { 177 distStr = "_" + _statID.mid(4); 178 } 179 180 path += ID4 + 164 181 QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) + 165 hlpStr + 182 hlpStr + distStr + 166 183 datTim.toString(".yyO"); 167 184 -
trunk/BNC/bncwindow.cpp
r182 r183 266 266 } 267 267 _actDeleteMountPoints->setEnabled(false); 268 269 if (_mountPointsTable->rowCount() == 0) { 270 _actGetData->setEnabled(false); 271 } 268 272 } 269 273 … … 394 398 _actGetData->setEnabled(true); 395 399 _actStop->setEnabled(false); 400 _actAddMountPoints->setEnabled(true); 396 401 } 397 402 }
Note:
See TracChangeset
for help on using the changeset viewer.