Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KoShapeSavingContext.cpp
Context not available. | |||||
247 | QString KoShapeSavingContext::imageHref(const QImage &image) | 247 | QString KoShapeSavingContext::imageHref(const QImage &image) | ||
---|---|---|---|---|---|
248 | { | 248 | { | ||
249 | // TODO this can be optimized to recognize images which have the same content | 249 | // TODO this can be optimized to recognize images which have the same content | ||
250 | // Also this can use quite a lot of memeory as the qimage are all kept until | 250 | // Also this can use quite a lot of memory as the qimage are all kept until | ||
251 | // they are saved to the store in memory | 251 | // they are saved to the store in memory | ||
252 | QString href = QString("Pictures/image%1.png").arg(++d->imageId); | 252 | QString href = QString("Pictures/image%1.png").arg(++d->imageId); | ||
253 | d->images.insert(href, image); | 253 | d->images.insert(href, image); | ||
Context not available. |