parent
6a2fed82ce
commit
bd15efaf40
@ -1,12 +0,0 @@
|
|||||||
--- kio-extras-22.08.0/thumbnail/imagecreator.cpp 2022-08-10 22:53:51.000000000 +0200
|
|
||||||
+++ kio-extras-22.08.0-new/thumbnail/imagecreator.cpp 2022-08-19 16:23:24.160033608 +0200
|
|
||||||
@@ -56,6 +56,9 @@ bool ImageCreator::create(const QString
|
|
||||||
{
|
|
||||||
// create image preview
|
|
||||||
QImageReader ir(path);
|
|
||||||
+ QSize sz = ir.size();
|
|
||||||
+ if(sz.width() > 10240 || sz.height() > 10240)
|
|
||||||
+ return false;
|
|
||||||
|
|
||||||
/* The idea is to read the free ram and try to avoid OS trashing when the
|
|
||||||
* image is too big:
|
|
@ -1 +1 @@
|
|||||||
SHA512 (kio-extras-22.12.3.tar.xz) = 53f289a1d4e516a010c250e68143a35af6e4f047ac723fceebee22ae48dea2412819cf0995fd7b4742a6b9a7e908a4cf03004da974c101f2c9deeceacf54de18
|
SHA512 (kio-extras-23.03.80.tar.xz) = f18c7a35361983c5252135c25454faf76c44e2ea72dd9495ad2ed18fef1f3b7766f09f34868a1d705746f8bafb600dbad996a7dc94ce0963ff1cae81e698f0eb
|
||||||
|
Loading…
Reference in new issue