Changeset 943
- Timestamp:
- Aug 5, 2011, 4:57:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qfilesystemwatcher_os2.cpp
r942 r943 172 172 } 173 173 QList<PathInfo> &variants = watchedPaths[normalPath]; 174 bool alreadyAdded = false; 174 175 foreach (const PathInfo &pi, variants) { 175 if (pi.path == path) 176 continue; 177 } 176 if (pi.path == path) { 177 alreadyAdded = true; 178 break; 179 } 180 } 181 if (alreadyAdded) 182 continue; 183 178 184 variants << PathInfo(path, type); 179 185 it.remove();
Note:
See TracChangeset
for help on using the changeset viewer.