[Digikam-devel] overwriting images on save, image editor.

Arnd Baecker arnd.baecker at web.de
Thu Jan 31 16:24:03 GMT 2008


I just came across the following issue which destroyed
an original image (yes, I do have a back-up ;-):

After editing an image in the image editor,
and closing it (CTRL-W) without saving,
a warning dialogue
  The image '%1' has been modified.\n"
  "Do you want to save it?
is shown with the options
  [Save] [Discard]  [Cancel]

If one presses Save, the original image is silently

The attached patch ensures that a Warning is given.

Essentially, this is a follow-up to

Any objections that I apply this patch to svn?

Best, Arnd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overwrite.patch
Type: text/x-diff
Size: 1543 bytes
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20080131/b972cc5e/attachment.patch>

More information about the Digikam-devel mailing list