https://bugzilla.novell.com/show_bug.cgi?id=404401 User lurch@gmx.li added comment https://bugzilla.novell.com/show_bug.cgi?id=404401#c10 --- Comment #10 from Stefan Brüns <lurch@gmx.li> 2008-10-12 09:41:29 MDT --- Created an attachment (id=245022) --> (https://bugzilla.novell.com/attachment.cgi?id=245022) Fix Its an obvious bug, patch is attached.
From http://doc.trolltech.com/4.3/containers.html#java-style-iterators (QMapIterator has the same semantics as QHashIterator):
------- QMapIterator also provides a key() and a value() function that operate directly on the iterator and that return the key and value of the last item that the iterator jumped above. For example, the following code copies the contents of a QMap into a QHash: .. ------ Before calling next() the first time, key() and value() lead to an access violation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.