[Digikam-devel] [Bug 209207] Crash when deleting saved searches (GPS and Timeline)

Marcel Wiesweg marcel.wiesweg at gmx.de
Fri Oct 9 17:17:52 BST 2009


https://bugs.kde.org/show_bug.cgi?id=209207





--- Comment #19 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-10-09 18:17:44 ---

> If you use kDebug() to analyze the pointers, you can see that
> QList::erase() is NOT returning the next iter object pointer, but the current
> one.
> Why?

I will assume, until proven otherwise, that QList is working perfectly and our
code is faulty ;-)

Is it returning the same iterator, or the same AlbumHistory pointer? In the
latter case, probably, this pointer is added twice?

What about the idea of rewriting the class value-based around a
QList<HistoryItem> or a QStack<HistoryItem>?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list