Changeset 173 for trunk/src/gui/dialogs/qfilesystemmodel.cpp
- Timestamp:
- Sep 9, 2009, 2:38:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/dialogs/qfilesystemmodel.cpp
r172 r173 353 353 absolutePath = QDir(longPath).absolutePath(); 354 354 355 // ### TODO can we use bool QAbstractFileEngine::caseSensitive() const?356 355 QStringList pathElements = absolutePath.split(QLatin1Char('/'), QString::SkipEmptyParts); 357 356 if ((pathElements.isEmpty()) … … 1089 1088 1090 1089 QList<QPair<QFileSystemModelPrivate::QFileSystemNode*, int> > values; 1091 QHash< QString, QFileSystemNode *>::const_iterator iterator;1090 QHash<FileNameKey, QFileSystemNode *>::const_iterator iterator; 1092 1091 int i = 0; 1093 1092 for(iterator = indexNode->children.begin() ; iterator != indexNode->children.end() ; ++iterator) { … … 1588 1587 QStringList newFiles = files; 1589 1588 qSort(newFiles.begin(), newFiles.end()); 1590 QHash< QString, QFileSystemNode*>::const_iterator i = parentNode->children.constBegin();1589 QHash<FileNameKey, QFileSystemNode*>::const_iterator i = parentNode->children.constBegin(); 1591 1590 while (i != parentNode->children.constEnd()) { 1592 1591 QStringList::iterator iterator;
Note:
See TracChangeset
for help on using the changeset viewer.