qt5-qttools/qttools-opensource-src-5.6-...

13 lines
810 B
Diff
Raw Normal View History

2016-11-17 15:05:39 +00:00
diff -up qttools-opensource-src-5.6.2/src/qdoc/qdocindexfiles.cpp.QTBUG-43057 qttools-opensource-src-5.6.2/src/qdoc/qdocindexfiles.cpp
--- qttools-opensource-src-5.6.2/src/qdoc/qdocindexfiles.cpp.QTBUG-43057 2016-11-03 09:19:59.257547541 -0500
+++ qttools-opensource-src-5.6.2/src/qdoc/qdocindexfiles.cpp 2016-11-03 09:21:39.574157002 -0500
@@ -1412,7 +1412,7 @@ void QDocIndexFiles::generateIndexSectio
2016-01-18 02:45:43 +00:00
const Aggregate* inner = static_cast<const Aggregate*>(node);
NodeList cnodes = inner->childNodes();
2016-11-17 15:05:39 +00:00
- std::sort(cnodes.begin(), cnodes.end(), Node::nodeNameLessThan);
+ qSort(cnodes.begin(), cnodes.end(), Node::nodeNameLessThan);
2016-01-18 02:45:43 +00:00
foreach (Node* child, cnodes) {
generateIndexSections(writer, child, generateInternalNodes);