Changeset 602
- Timestamp:
- Feb 25, 2010, 12:03:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qfilesystemwatcher.cpp
r561 r602 72 72 { 73 73 enum { 74 SmallPollingInterval = 50, // time to wait after checking each watched 75 // item, ms 76 BigPollingInterval = 1000, // time to wait after checking all watched 77 // items, ms 74 PollingInterval = 3000, // time to wait after checking all watched items, ms 78 75 }; 79 76 … … 159 156 emit fileChanged(path, false); 160 157 } 161 waitCond.wait(&mutex, SmallPollingInterval);158 ); 162 159 } 163 160 QMutableHashIterator<QString, FileInfo> dit(directories); … … 175 172 emit directoryChanged(path, false); 176 173 } 177 waitCond.wait(&mutex, SmallPollingInterval);174 ); 178 175 } 179 176 if (!startOver && !askedToFinish) { 180 waitCond.wait(&mutex, BigPollingInterval);177 waitCond.wait(&mutex, PollingInterval); 181 178 } 182 179 if (askedToFinish) {
Note:
See TracChangeset
for help on using the changeset viewer.