summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qresource_iterator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qresource_iterator.cpp b/src/corelib/io/qresource_iterator.cpp
index 025fccf..7e22600 100644
--- a/src/corelib/io/qresource_iterator.cpp
+++ b/src/corelib/io/qresource_iterator.cpp
@@ -75,8 +75,7 @@ bool QResourceFileEngineIterator::hasNext() const
// Initialize and move to the next entry.
QResourceFileEngineIterator *that = const_cast<QResourceFileEngineIterator *>(this);
that->entries = resource.children();
- if (!that->entries.isEmpty())
- that->index = 0;
+ that->index = 0;
}
return index < entries.size();