- Timestamp:
- Apr 28, 2012, 4:36:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r4054 r4080 112 112 while (it.hasNext()) { 113 113 QString fileName = it.next(); 114 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input); 115 _rnxObsFiles.append(rnxObsFile); 114 if (fileName.indexOf('*') != -1 || fileName.indexOf('?') != -1) { 115 QFileInfo fileInfo(fileName); 116 QDir dir = fileInfo.dir(); 117 QStringList filters; filters << fileInfo.fileName(); 118 QListIterator<QFileInfo> it(dir.entryInfoList(filters)); 119 while (it.hasNext()) { 120 QString filePath = it.next().filePath(); 121 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(filePath, t_rnxObsFile::input); 122 _rnxObsFiles.append(rnxObsFile); 123 } 124 } 125 else { 126 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input); 127 _rnxObsFiles.append(rnxObsFile); 128 } 116 129 } 117 130 qStableSort(_rnxObsFiles.begin(), _rnxObsFiles.end(),
Note:
See TracChangeset
for help on using the changeset viewer.