https://bugs.kde.org/show_bug.cgi?id=402784
David Hallas <da...@davidhallas.dk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |da...@davidhallas.dk --- Comment #4 from David Hallas <da...@davidhallas.dk> --- (In reply to Elvis Angelaccio from comment #1) > The problem is that when we stop the activity, the KItemListViewAccessible > destructor is called *after* QApplication::exec() from the main() returns > (no idea why). At that point, m_cells contains only dangling pointers and > everything falls apart. Hi Elvis, I was looking at the code for this and I was thinking if a solution could be to change the m_cells type to store QAccessible::Id instead of a pointer to QAccessibleInterface, since Qt provides easy access to the QAccessibleInterface* given the Id. Then in the destructor we could simply lookup the QAccessibleInterface* pointer with the Id and delete it if it was found? -- You are receiving this mail because: You are watching all bug changes.