Need to check for QImage failure otherwise it will through a qWarning.
Attach a file by drag & drop or click to upload