Changeset 769 for trunk/src/gui/dialogs/qfilesystemmodel.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/dialogs/qfilesystemmodel.cpp
r651 r769 1361 1361 return d->index(rootPath()); 1362 1362 1363 //We remove the watcher on the previous path 1364 if (!rootPath().isEmpty() && rootPath() != QLatin1String(".")) { 1365 //This remove the watcher for the old rootPath 1366 d->fileInfoGatherer.removePath(rootPath()); 1367 //This line "marks" the node as dirty, so the next fetchMore 1368 //call on the path will ask the gatherer to install a watcher again 1369 //But it doesn't re-fetch everything 1370 d->node(rootPath())->populatedChildren = false; 1371 } 1372 1363 1373 // We have a new valid root path 1364 1374 d->rootDir = newPathDir;
Note:
See TracChangeset
for help on using the changeset viewer.