diff --git a/desktop/kde/applications/kpimtextedit/files/qt5.patch b/desktop/kde/applications/kpimtextedit/files/qt5.patch index d133a4f1bc..302f73229e 100644 --- a/desktop/kde/applications/kpimtextedit/files/qt5.patch +++ b/desktop/kde/applications/kpimtextedit/files/qt5.patch @@ -18,7 +18,7 @@ diff -Nuar a/src/composer-ng/richtextcomposerimages.cpp b/src/composer-ng/richte normalImage->image.save(&buffer, "PNG"); - qsrand(QDateTime::currentDateTimeUtc().toSecsSinceEpoch() + qHash(normalImage->name)); -+ qsrand(QDateTime::currentDateTimeUtc().toTime_t() + qHash(normalImage->name)); ++ qsrand(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch() + qHash(normalImage->name)); QSharedPointer embeddedImage(new EmbeddedImage()); retImages.append(embeddedImage); embeddedImage->image = KCodecs::Codec::codecForName("base64")->encode(buffer.buffer());