summaryrefslogtreecommitdiff
path: root/examples/xmlpatterns
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlpatterns')
-rw-r--r--examples/xmlpatterns/filetree/filetree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/xmlpatterns/filetree/filetree.cpp b/examples/xmlpatterns/filetree/filetree.cpp
index e1e5427..5df6afb 100644
--- a/examples/xmlpatterns/filetree/filetree.cpp
+++ b/examples/xmlpatterns/filetree/filetree.cpp
@@ -276,13 +276,13 @@ FileTree::kind(const QXmlNodeModelIndex &node) const
/*!
No order is defined for this example, so we always return
- QXmlNodeModelIndex::Precedes, just to keep everyone happy.
+ QXmlNodeModelIndex::Is, just to keep everyone happy.
*/
QXmlNodeModelIndex::DocumentOrder
FileTree::compareOrder(const QXmlNodeModelIndex&,
const QXmlNodeModelIndex&) const
{
- return QXmlNodeModelIndex::Precedes;
+ return QXmlNodeModelIndex::Is;
}
/*!