[Digikam-devel] [Bug 166440] Removing images from Light Table is not working properly

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Jul 24 13:44:53 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166440         




------- Additional Comments From marcel.wiesweg gmx de  2008-07-24 14:44 -------
I did not look into the KDE3 problem, but for KDE4 I would suggest this:

add a method takeItem to Thumbbar which gets all the code from removeItem, except for the word "delete" in line 689.

Make removeItem only call "delete item", and make the destructor call takeItem.

So you can still remove items with delete, and if removeItem is called at various places we keep it for compatibility. If it is used only in a few places, we could remove it and use delete everywhere.



More information about the Digikam-devel mailing list