Review Request 125493: PictureShapeConfigWidget: add error handling to KIO::Job.

David Faure faure at kde.org
Mon Oct 5 12:16:47 BST 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125493/
-----------------------------------------------------------

(Updated Oct. 5, 2015, 11:16 a.m.)


Status
------

This change has been marked as submitted.


Review request for Calligra, Boudewijn Rempt and Thorsten Zachmann.


Changes
-------

Submitted with commit dab27ce5c2b4aa45adafb417a86029a0f3229f0c by David Faure to branch calligra/2.9.


Repository: calligra


Description
-------

Mistyping a filename in the file widget would lead to the job failing silently
and the rest of the code trying to load an empty bytearray as the image data.

Better show a msgbox on error and delete the shape.

But this is last resort (e.g. remote URL and lost internet during transfer),
see next commit.


Diffs
-----

  plugins/pictureshape/PictureShapeConfigWidget.h 14b59aaf749b335a3f69b075a8422732664f0ecb 
  plugins/pictureshape/PictureShapeConfigWidget.cpp e8cf8ccff228aa7a50a6ec58a2a1df7ede1a2ee0 

Diff: https://git.reviewboard.kde.org/r/125493/diff/


Testing
-------


Thanks,

David Faure

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20151005/5fe29260/attachment.htm>


More information about the calligra-devel mailing list