Commit 488c7852 authored by Laurent Montel's avatar Laurent Montel 😁

Remove deprecated method

parent 450e9e54
......@@ -193,7 +193,7 @@ QList< QSharedPointer<EmbeddedImage> > RichTextComposerImages::embeddedImages()
buffer.open(QIODevice::WriteOnly);
normalImage->image.save(&buffer, "PNG");
qsrand(QDateTime::currentDateTimeUtc().toTime_t() + qHash(normalImage->name));
qsrand(QDateTime::currentDateTimeUtc().toSecsSinceEpoch() + qHash(normalImage->name));
QSharedPointer<EmbeddedImage> embeddedImage(new EmbeddedImage());
retImages.append(embeddedImage);
embeddedImage->image = KCodecs::Codec::codecForName("base64")->encode(buffer.buffer());
......
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