Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit ec065b78 authored by Thomas Zander's avatar Thomas Zander


svn path=/trunk/koffice/; revision=691916
parent a29b20e1
......@@ -136,7 +136,7 @@ void KritaShape::tryLoadFromImageData(KoImageData *data) {
KUrl url = data->imageLocation();
QImage image = data->image();
if(url.isEmpty() || image.isNull())
if(url.isEmpty() && image.isNull())
delete m_d->doc;
......@@ -164,6 +164,7 @@ QImage KritaShape::convertToQImage()
KisImageSP img = m_d->doc->image();
return img->convertToQImage( 0, 0, img->width(), img->height(), m_d->displayProfile );
return QImage();
#include "KritaShape.moc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment