[Digikam-devel] [Bug 147889] Replacing deleted images in panels

Arnd Baecker arnd.baecker at web.de
Sun Sep 2 22:02:14 BST 2007


------- 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=147889         




------- Additional Comments From arnd.baecker web de  2007-09-02 23:02 -------
Created an attachment (id=21534)
 --> (http://bugs.kde.org/attachment.cgi?id=21534&action=view)
update items properly after delete

Attached is a patch, which is an attempt at keeping
the light-table populated properly on delete.
Unfortunately, the code got quite complicated
due to the corner cases.Not sure if there is much simplification
possible. At least it has a lot of comments ;-).

It will require extensive testing with all the different possibilities!

Note that I cannot guarantee that it does not crash
(though I did not experience any crashes).
Also note that presently there are many DWarnings() for testing
which will be removed in the final iteration of this patch.



More information about the Digikam-devel mailing list