From 95f88ed6c58925b74e6e6c25a44e597e5be112b1 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 17 Jan 2014 20:23:46 +0100 Subject: whitespace fixes remove trailing spaces & expand tabs Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2 Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- examples/xmlpatterns/filetree/filetree.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/xmlpatterns/filetree/filetree.cpp') diff --git a/examples/xmlpatterns/filetree/filetree.cpp b/examples/xmlpatterns/filetree/filetree.cpp index 5df6afb..bcde110 100644 --- a/examples/xmlpatterns/filetree/filetree.cpp +++ b/examples/xmlpatterns/filetree/filetree.cpp @@ -144,7 +144,7 @@ QXmlNodeModelIndex FileTree::toNodeIndex(const QFileInfo &fileInfo) const /*! This private helper function is only called by nextFromSimpleAxis(). It is called whenever nextFromSimpleAxis() is called with an axis - parameter of either \c{PreviousSibling} or \c{NextSibling}. + parameter of either \c{PreviousSibling} or \c{NextSibling}. */ //! [5] QXmlNodeModelIndex FileTree::nextSibling(const QXmlNodeModelIndex &nodeIndex, @@ -213,7 +213,7 @@ FileTree::nextFromSimpleAxis(SimpleAxis axis, const QXmlNodeModelIndex &nodeInde switch (axis) { case Parent: return toNodeIndex(QFileInfo(fi.path()), Directory); - + case FirstChild: { if (type == File) // A file has no children. @@ -233,7 +233,7 @@ FileTree::nextFromSimpleAxis(SimpleAxis axis, const QXmlNodeModelIndex &nodeInde return toNodeIndex(firstChild); } } - + case PreviousSibling: return nextSibling(nodeIndex, fi, -1); -- cgit v1.2.1