234
256
void ThumbnailCreator::store(const QString& path, const QImage& i)
239
265
if (qimage.width() > d->cachedSize || qimage.height() > d->cachedSize)
241
267
qimage = qimage.scaled(d->cachedSize, d->cachedSize, Qt::KeepAspectRatio, Qt::SmoothTransformation);