-rw-r--r-- | libopie/pim/orecordlist.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libopie/pim/orecordlist.h b/libopie/pim/orecordlist.h index edcd729..5211f57 100644 --- a/libopie/pim/orecordlist.h +++ b/libopie/pim/orecordlist.h @@ -9,2 +9,3 @@ +class ORecordListIteratorPrivate; /** @@ -73,5 +74,6 @@ private: /* d pointer for future versions */ - class IteratorPrivate; - IteratorPrivate *d; + ORecordListIteratorPrivate *d; }; + +class ORecordListPrivate; /** @@ -125,2 +127,3 @@ private: const Base* m_acc; + ORecordListPrivate *d; }; @@ -222,2 +225,5 @@ ORecordListIterator<T>::ORecordListIterator( const QArray<int> uids, { + /* if the list is empty we're already at the end of the list */ + if (uids.count() == 0 ) + m_end = true; } |