Commit graph

8 commits

Author SHA1 Message Date
Ivailo Monev
7c2d1f3bd0 kioslave: discard the data buffer and pixmap once text thumbnail is created
to reclaim the memory allocated

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 20:21:48 +03:00
Ivailo Monev
2988a77e82 kioslave: draw blended icon for document thumbnails
since the document thumbnails look pretty much the same (i.e. a text page)
drawing icon not only from the generic text thumbnailer as indicator what
type of document the thumbnail is for makes sense

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 10:34:36 +02:00
Ivailo Monev
906c5331da kioslave: use QTextCodec::codecForText() for text encoding detection in textthumbnail thumbnailer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-29 08:20:18 +02:00
Ivailo Monev
d82746be82 generic: adjust to KLocale changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-30 20:19:42 +03:00
Ivailo Monev
9748c4adf5 kioslave: remove unused variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-02 03:04:41 +03:00
Ivailo Monev
260c6f3dd8 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-28 22:27:02 +00:00
Ivailo Monev
bbb50c2c43 kioslave: remove usage of KEncodingProber 2015-10-18 01:31:58 +03:00
Ivailo Monev
fdeee7c849 imported everything from kde-runtime 2014-11-15 04:16:00 +02:00